Hello there. I am Terry and I am a full-time undergraduate based in Singapore. I take photos, write a blog and design websites.

And no, I'm not a teddy bear.

A Preview of HTML 5

A Preview of HTML 5 on A List Apart.

A Preview of HTML 5 on A List Apart.

Lachlan Hunt wrote an article on A List Apart on HTML 5. It is the fifth major revision of the core language of the World Wide Web, HTML. HTML 5 specifies two variants of the same language, a “classic” HTML (text/html) variant known as HTML5 and a XHTML variant known as XHTML5.

One of the major additions to HTML5 is that there are new elements and attributes being added to the language, such as <header>, <footer>, <section>, <article>, <aside> and etc (they’re pretty much self explanatory). Such tags does not only make web browsing more convenient to those who’re visually impaired as well as making easier for search engines to index your site content (think <h1>, <h2> and etc), they represent elements commonly found in modern webpages.

In addition, you can embed audio and video files with the less clunky <audio> and <video> tags, without the hassle of using <embed>. Woots!

Good news and bad news for you when HTML 5 comes along. Let’s start with the one big bad news – deprecated elements such as <font>, <center> and <strike> have been dropped, meaning that they will not only invalidate your webpage, but future web browsers that are reading pages using HTML 5 will not be able to parse the dropped elements. But that’s okay, since according to the current XHTML standards, they’re not recommended too.

  1. <font> can be replaced using <span style="css properties">text</span>.
  2. <center> can be replaced using <p style="text-align: center;">text</p>.
  3. <strike> can be replaced using <span style="text-decoration: line-through;">text</span>.

And the really, really good news to all – even if you use UPPERCASE letters for your coding, your website will still be HTML 5 valid, a departure from the current strict XHTML standards where all tags have to be in lowercase. So <IMG SRC="image.jpg" /> is equivalent to <img src="image.jpg" />. However, I still love lower case tags because they’re easier on the eyes than blocky caps. Cheers for those who adore capitalised tags!

For more details, there’s a Wikipedia entry on HTML5 too!

Burn after reading » Now you're done reading. What's next?

Related

Related posts that might interest you:

Popular

Posts that are popular among visitors:

Share it

If you've enjoyed the post, or think that it might be useful to others, do share in on a social network site that you're using. Thank you!

  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • LinkedIn
  • Reddit
  • Design Float
  • Identi.ca
  • Live
  • Ping.fm
  • Print this article!
  • Twitter
  • Netvibes
  • HackerNews
  • Slashdot

2 responses to “A Preview of HTML 5” » Leave a response

  1. abdusfauziResponse

    nice one. but still, i’m not good in using H1 / H2.. mostly, everything will be DIV / SPAN.. haha

    Check out abdusfauzi’s latest blog post » Nuxy Tape : My iTunes Playlist on the Net.

Leave a Response » Share your thoughts or Return to top

Your name is required. Why?

  • So that I can address you personally (which I'm more than happy to do).
  • Everyone loves their name to be called, right? Nobody wants to be referred to as 'a certain someone' or Mr X (X-Men members aside).
  • If your post too much spam, your name will be imprinted on a personalised voodoo doll, completely free of charge. I'm just joking!

Your email is needed. Why?

  • Your email is, and will, never be given out to any third party under any conditions (except for people sneaking up behind me when I'm on WP admin).
  • So that I can contact you personally in case of certain issues that I wish to address personally.
  • If you post too much spam, I'll email the same spam you've posted 10 times back to you, completely free of charge.

You can always leave a personal URL behind

  • It can be anything - most people put their blog URL, their facebook page, their Twitter URL, their MySpace or etc.
  • I give love back by saying NO to no-follow. All of your webbie links are dofollows instead.

Twitter. Twitter. Twitter.

  • What is Twitter?: Twitter is a social networking and micro-blogging service that enables its users to send and read other users' updates known as tweets. Tweets are text-based posts of up to 140 bytes in length.
  • What is my Twitter ID?: To get a Twitter ID, you simply have to sign up for an account at Twitter.com. Your ID will be in the format of your profile's URL - http://twitter.com/[userid].

Comment notes

  • Gravatar: You can register for one at Gravatar.com
  • XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">
  • Codes: Wrap them up with <code></code> tags.

Hello Easter Egg hunter! You've discovered the magic of the Konami Code!

Yea. You probably know what the Konami code is before getting to this page. So now what? Here is a randomised YouTube video on my favourites list... which includes Rickroll, if you're luck enough to get it.

You are currently watching Twouble with Twitters: SuperNews!. Loving it? You can even watch the video in its full screen glory :)

The Konami Code:
Konami Code sequence