Should Students Learn to Write HTML Code?

I saw an email from someone today suggesting that they would be starting next term to teach their students to write HTML code from scratch, so the kids could make their own webpages. My initial reaction when I read this message was to ask “Why?” Why would anyone bother to learn HTML coding from scratch when there are so many great editing tools around? Surely, in a WYSIWYG world, learning how to to actually write HTML code is a complete waste of time? With so many great web editing tools around, isn’t learning to write raw HTML code a pointless exercise?

In once sense, these are valid questions. There’s no doubt that the majority of websites these days are created using a templated approach and an “engine” such as WordPress, Drupal, Joomla, Squarespace, etc. It’s also true that for any really customised web work, it would still fall to a workhorse like Adobe Dreamweaver or something else, such as excellent free tools like KompoZer or NVU editor.

However, on reflection, I think there is a great deal to be said for being able to understand basic HTML code. Take using Moodle as an example… as much as I would like to tell my teachers at school that Moodle has a wonderful WYSIWYG editor, and that it will automatically format all the text and images for you just by cllicking on the little buttons in the editing bar, the fact remains that I still find myself hitting the little <> button on the Moodle editor bar to dive into HTML code on an almost daily basis just to fix little quirky things that are going on.

It’s also true that, although you can use the buttons on the editor to align text to the left or right (which in HTML, behaves quite differently to how it behaves in, say, Word) knowing a little bit about what those buttons are actually doing on a code-level makes it much easier to predict how things will actually look. Being able to manually write a link to a URL, being able to strip out some rogue heading level text, fixing paragraphs that have gone askew because of a stray tag, and so on… these are all things that I find myself doing fairly regularly, even WITH access to fancy WYSIWYG editing tools. I taught myself the basics of writing HTML nearly 15 years ago now (well, to be completely honest, one of my students taught me!) and I can’t even begin to tell you how handy it has been and how often I have used that knowledge. Although I would like to think that we are living in a world where it SHOULD be completely unnecessary to know how to write HTML source code, the truth is that over the years it’s proven itself to be a damn handy skill!

Even being able to use the provided code to put an YouTube video or a Google Map into a wiki or blog, for example… sure, you CAN do it without having the slightest idea of how it all works, but if you want to make a minor adjustment such as changing the width or height of the frame, just being unintimidated by the code makes a big difference to your general level of technological fluency.

I’m not saying that everyone should be able to write heavy-duty CSS code or be able to create complicated PHP script, but HTML is dead simple… and for the number of times I find myself rescuing a page because of a relatively simple adjustment to the underlying code… I gotta say, I can’t think of anyone who would not benefit from knowing the basics.

So, should this teacher spend time teaching his kids to code? Some may disagree, but I say yes. My advice would be to teach kids to write a fairly simple webpage. They should know the core structure of html, head and body. They should understand heading levels (and depending on the age of the students, how these can be tied to style sheets). They should know how to manually write (or at least understand) the code for a hyperlink, for an image, and for an embed. It’s good to know these basics. I guarantee you those kids will find them useful at some point in their future.

For the majority of your students, that’s probably all they need to know. Then, once they have a grip on the basics, switch over to a decent visual editor like Dreamweaver or similar… some tool that lets them switch back and forth between code view and output view. Output view will make SO much more sense once they see the relationship between code and output!

And who knows, just that small exposure to the underlying code could make all the difference to that one kid in your class. It could open them up to a whole world of coding and being interested in what really makes a computer tick. In this WYSIWYG world, God knows we need more kids like that!

And if nothing else, you’ll at least understand why the picture that goes with this post is so funny! 🙂

What about you?  Do you think teaching kids to understand HTML is a useful skill, or a waste of time?

Image: ‘html tag italicized
http://www.flickr.com/photos/30127486@N00/346483297

Bye Bye Facebook

As you may have noticed, Facebook has been copping a great deal of flak in the media lately for recent changes to its privacy policy.  There is growing evidence that Facebook as a company has few scruples or ethics when it comes to the way they view and use your personal data.  The company has continually “baited and switched” the privacy settings in Facebook to the point where they have become so confusing and complex that few people truly understand them.  There are something like 50 choices leading to about 170 different privacy variations possible, all needing to made in multiple locations in Facebook, with very little consistency or “expected behaviour” between them…  consequently, there could be significant parts of your personal data that is being made public without you realising. Facebook seems to be working on the principle that most users never look at the default settings or take the time to think through their options.  The most recent changes made to their privacy policy have made the sharing of your personal information “opt-out”, rather than the previous method of “opt-in”.  This means that, unless you wade through the many privacy settings to turn them off, you are probably sharing far more than you realise. Added to this is the recent change to the Facebook Privacy Policy that essentially grants Facebook the rights to give your data to third parties and advertisers in order to target marketing to you.  The infographic to the right was created by Matt McKeon, and links to his page where you can explore an interactive version which shows how the default sharing policy on Facebook has changed over time.  It’s a bit scary!

Interestingly, the Facebook Privacy Policy –which all Facebook users must agree to in order to use the service – has grown to become almost 6000 words long.  Do you know what it says?

Personally, I find this unethical behaviour completely unacceptable and, along with many others across the web, have decided to close my Facebook account.  Like many Facebook users, there have been times when I’ve found the service useful in helping me connect to friend and family, but their recent display of unethical, almost fascist, behaviour has left me with little choice but to cancel the service.  Although I had taken the time in the past to secure my Facebook account (and I was savvy enough to do so) I cannot, in principle, support a company that shows such a cavalier attitude to the privacy of their user base.

If you are a Facebook user, I would strongly encourage you to check the settings in your account to make sure they are doing what you expect.  There is a useful tool at http://www.reclaimprivacy.org/
that will actually probe your Facebook account to show you how it looks to the outside world.  I would strongly encourage you to take the time to check yours.

There is also much bigger issues about Facebook. Its disregard for open standards, its walled garden approach that continually borrows steals ideas from all over the web, its willingness to do whatever it takes to keep users within the Facebook environment… I believe in the longer term will be bad for the Internet in general. That’s a much bigger issue and beyond the scope of this particular post, but when you add it all up, I can’t in all good faith continue to support a company that continually exhibits evil motives.  Facebook might be a useful service for many, and it might offer a certain convenience factor by bringing things into one place, but there is no doubt in my mind that Facebook will bad for the open web in the longer term.

Many people in the Internet community are so outraged by the continual display of unethical behaviour of Facebook and their CEO Mark Zuckerberg that here is an official “Quit Facebook Day” organised for May 31.

If you feel strongly enough about the approach that Facebook is taking, you may also decide to close your account to send a message to the company that you are not willing to use a service that shows such scant concern for their users privacy.

Here are just a few articles (of many!) about the recent changes that you may want to read if you need more information.  It’s worth getting the full story.

I realise that many people find Facebook very useful, and many will not want to take the extreme step of deleting their account, but I do hope you take the time to make sure your account is sharing what you think it is, and to even perhaps share some of this conversation with your students.