With the name HTML5 revolving all round the social networks and blogosphere and yesteday I took time to check out whats exactly that HTML5 has to offer. Its simply great, so I thought to create a round up with some cool HTML5 elements which you wouldn’t have seen or used in HTML4. Well in other terms you can design a complete new layout only with exclusive HTML5 tags without using HTML4 tags which is not recommended though.
-
<section>
A section tag can be useful to provide something similar to a section of a chapter of text, or a book. Talking about blogs it can act as a wrapper to all blog entries on current page.
-
<header>
Please ite that this is not same as the <head> element. <header></header> can be useful to wrap up all the header elements like logo, searchbox, subscripts etc.
-
<footer>
Footer of the page. This where all your copyrights related infoa nd other sitelinks goes. Similar to header.
-
<nav>
The nav element can be used to enclose the menus that you have got on the page.
-
<article>
The article tag can go inside the <section></section> tag. It depicts the tag for your article. For example each blog post can be wrapped inside an <article></article> tag
-
<aside>
The aside tag can be used to put up any other notes etc that you have to display. In other terms we can also use the <aside></aside> tags to create sidebars for your widgets.
I have writen about only a few tags here, however if you want to check about all the new tags then please visit http://www.phpguru.org/static/html5
Related posts:



[...] If you already not know what has changed in HTML 5 have a look at my article Working with HTML5 – The Future of Web [...]