Skip to navigation

PCPro-Computing in the Real World Printed from www.pcpro.co.uk

Register to receive our regular email newsletter at http://www.pcpro.co.uk/registration.

The newsletter contains links to our latest PC news, product reviews, features and how-to guides, plus special offers and competitions.

// Home / Blogs

Posted on June 22nd, 2010 by Ian Devlin

The confusion surrounding HTML5

question mark

There seems to be a lot of confusion lately with regards to what HTML5 actually is. Those in the web development community generally have a good idea of what it entails, if not the nitty-gritty, at least what it may contain. Not so outside of the web development world.

As generally tends to happen, external parties grab hold of these new phrases, half-heartedly look into what they mean, jumble them together and cause a wave of confusion. The latest wave is the lumping together of HTML5 and CSS3 into the general heading of HTML5.

This is misleading.

So what is HTML5 then?

HTML5 is basically an emerging standard that is intending to replace the current versions of HTML (4.01) and XHTML (1.1). It introduces new markup elements and attributes that can be used for describing the structure of a HTML document in a more defined way than is currently available. It also adds the embedding of video files and audio files into a web document.

HTML is the language for describing the structure of web pages

As well as new elements, there are new JavaScript APIs that allow such functionality as drag and drop, local file storage, web SQL, 2D drawing (via the <canvas> element) and file access.

And CSS3?

Like the current version of CSS (2.1), CSS3 allows you to define the presentation of web pages. CSS3 however, introduces a huge variety of new ways to present your designs. It also introduces the idea of “modules” such as box, lists, hyperlinks, background and text. Each module will provide styling control over a certain type of content.

CSS is the language for describing the presentation of web pages, including colors, layout, and fonts

It also introduces new effects such as rounded borders, gradients, and box shadows, all effects that currently require fancy JavaScript or hacky combinations of HTML and CSS in order to achieve them. These will now be available through simple CSS definitions. Of course there are plenty more, this is just one example of the kind of thing that will be available for use.

They’re not the same

See the difference there? HTML is for structure, CSS for presentaion. So in the same way that the current version of HTML (4.01 or XHTML 1.1) is used for structuring a web document, and the current version of CSS (2.1) is used for styling a web document, both HTML5 and CSS3 have the same roles. This hasn’t changed.

They are exclusive of one another. HTML 4.01 can be used with CSS3, HTML5 with CSS 2.1, HTML5 with CSS3, any combination (although the browser needs to support them).

So where has the confusion come from?

The biggest culprit in my eyes is Apple. When they released their HTML5 Demos, people very easily got the wrong end of the stick. This wasn’t done intentionally by Apple, but such is their worldwide appeal and influence, that many people’s first introduction to HTML5 was via Apple’s demos – that, out of seven demos, only two are HTML5 specific.

Don’t get me wrong, I like what Apple have done with these demos (other than forcing you to use Safari in order to view them), and all the demos are coded in HTML5 and use a variety of the new HTML5 elements. What annoys me is the the way they were presented to the public – under the name of HTML5 Showcase. Even the link is misleading. I’m all for promoting HTML5, but it needs to be done properly.

An example of the confusion that reigned (this was prior to the Apple HTML5 demo release) can be seen in The Guardian’s technology blog article A working web version of the solar system – in HTML5, not Flash. It’s been corrected now, thankfully, but it illustrates the confusion that existed then, and largely still exists now.

Conclusion

People need to be educated properly as to what any new emerging technologes actually are and what they are used for. Misleading the public will only lead to problems and misunderstandings as to what can do what and how, causing all sorts of issues between clients and web designers/developers who I’m sure are already dreading being asked: “This design is a bit bland. Can you add some HTML5?”

Tags: , , , ,

Posted in: Real World Computing

Permalink

Follow any responses to this entry through the RSS 2.0 feed.

You can skip to the end and leave a response. Pinging is currently not allowed.

10 Responses to “ The confusion surrounding HTML5 ”

  1. aa Says:
    June 22nd, 2010 at 2:03 pm

    Great post, I hope it helps those confused people.

     
  2. Tom Arah Says:
    June 22nd, 2010 at 3:48 pm

    An interesting post and you’re right that most of the Apple demos and the Guardian one you mention are actually based on Safari’s CSS3 support rather than HTML5 support.
    However I think you are being overgenerous to Apple to think that they also don’t know the difference. They are deliberately trying to muddy the waters to imply that with the arrival of HTML5 the open markup-based Web, and every browser within it, will suddenly be able to “do Flash.” This is crucial because it gives Apple an acceptable open standards reason for not supporting the format to cover up their real financial motives for anti-competitively banning it.
    There’s also a very good reason for only making the pages available to Safari. As veterans of the browser wars will remember, trying to pin down CSS styling across browser implementations is like pinning jelly to a plate. CSS3 is exciting (far more so than HTML5), but it will take years for a reliable cross-platform browser-based platform to emerge let alone for end users to take it up and I don’t think it will ever be able to compete with the Flash platform which has always been built on presentation rather than structure. Yes the current Apple demos look exciting within Safari but they will look like junk outside Safari for many years to come. Which makes it pretty pointless putting the huge development effort into creating them – especially when it would have been so much easier to do so within Flash – unless you have a very good ulterior motive like protecting your App Store revenues.
    The bottom line is that the Web can already do Flash via Flash and Jobs should support it.

     
  3. Ellie K Says:
    June 22nd, 2010 at 10:50 pm

    Nice timing for your “What IS HTML5?” post. And CSS3 etc. The Google Code blog just released a flashy flyer a few mins ago.

    I am excited to see MathML (ver 2.0, no less!) finally supported, altho it is optional for HTML5, There is already a depressing “how well does your browser support HTML5″ browser test at html5test dot com…. it might not be depressing for a more modern browser! I saw an online HTML5 editor today too, name is rendera dot something dot com. All this activity, happening at the same time! An exciting summer all araound….

     
  4. Muck Says:
    June 23rd, 2010 at 8:52 am

    mmmm interesting to see that the brand new Safari browser just creeps above 66% compatible with HTML5. However they are the most compatible

     
  5. David Wright Says:
    June 23rd, 2010 at 9:03 am

    I think one of the reasons that most people use HTML5 is that the unwashed masses probably haven’t got a clue what HTML is, let alone CSS or JavaScript.

    Telling them that the way forward is HTML5 + CSS3 + JavaScript 1.9 isn’t going to mean anything, probably just confuse them more and they’ll say “hmm, why don’t we stick with Flash, I only need one plugin for that, not 3?”

    If I told my girlfriend that HTML5 was the way forward for the web, she would probably say, “but I’m happy using Firefox.”

    YouTube videos, without FlashPlayer is something that many could probably understand – or “YouTube video will work on your mobile device,” more likely.

     
  6. redtom Says:
    June 23rd, 2010 at 12:48 pm

    “This design is a bit bland. Can you add some HTML5?”

    Oh god, please no…

     
  7. Ian Devlin Says:
    June 24th, 2010 at 9:43 am

    @Tom I probably am being a bit overgenerous to Apple, but I didn’t want this post to lead to a discussion as to whether Apple should have made their demos for Safari only or not. There are already other places for that argument.

    @Ellie I must admit that I’ve not heard of MathML before. I shall check it out.

    @David You’re probably right, but at least we can try!

     
  8. jamesld Says:
    June 24th, 2010 at 12:18 pm

    Have you seen MS’ demos at http://ie.microsoft.com/testdrive/ ?
    They are supposed to be for IE9 preview, but all the ones I looked at worked under Chrome.

    I thought it was quite good that under HTML5 demos, it tells you what whether it’s DOM, ECMA etc. etc. that it is showing, not just HTML5.

    I just need to find a Windows 7 machine to check out the hardware accelerated graphics on.

     
  9. Tommy Says:
    June 24th, 2010 at 2:34 pm

    Its very refreshing to read an extremely well written and sensible blog on HTML5.
    I think we are all aware that the finished article of HTML5 is some years away yet, but unfortunately the “blathering” from the F>O>S brigade is starting to gather momentum and you can rest assured that shortly the customers will be telling us what wonderful things we must use HTML5 for…..and they are well instructed from the brigade!
    I have enjoyed reading your article may there be many more truthful and realistic articles to come..well done

     
  10. Ian Devlin Says:
    June 29th, 2010 at 2:28 pm

    I could have replaced this entire article with: http://iscss3partofhtml5.com/

     

Leave a Reply

Spam Protection by WP-SpamFree

* required fields

* Will not be published

SEARCH
SIGN UP

Your email:

Your password:

remember me

advertisement


Hitwise Top 10 Website 2010