New Elements. This probably is the most apparent change from HTML4 to HTML5 for me. The new elements are added for better webpage structure and semantics, instead of just using div's for every section of your webpage. Here are some of them:
- Header
- Footer
- Section
- Article
- Nav
- Aside
The difference of these new elements from the simple div? They have their specific and unique functions that cater just what you need.
Dated Out Styling Tags. There is a change in the approach of building webpages: HTML provides the structure of the document, and everything else is just presentation. CSS is responsible for that. So the tags that focus mainly on the appearance of the webpages have been deprecated in HTML5: <b>, <i>, <font>, etc. I think this makes a lot of sense, because your webpage will not be tightly-coupled with its style - you can easily modify your design without having to touch the skeleton of your document.
Independence. I couldn't think of another word, sorry about that, hahaha. HTML5 can play video and audio files on its own, without the requirement of third-party applications (which I think is pretty cool). And it can also run video games (yes, video games!) in the browser on its own.
I haven't really explored HTML5 that much, only a couple of experiments with the canvas and video tags (will probably post them soon). But I find it really interesting, and I believe it has a lot of potential, especially in games (hurrah!). I hope more browsers will support it soon.
^^
No comments:
Post a Comment