Sunday, November 04, 2012

HTML5 Elements Part 2

We have seen aside, article, bdi, details and summary tags that has been newly introduced in HTML5. we will see a few more tags this time.

  • <figure>- Figure tag specifies self-contained content, like illustrations, diagrams, photos, code listings etc.
  • <figcaption>-Figure caption tag defines a caption for the figure element.
  • <header>- Header tag defines a header for a document or section.
  • <footer>- Footer tag defines a footer for a document or section.
  • <hgroup>- Hgroup tag groups a set of h1 to h6 tag when a heading has multiple levels.
It should look something like this:

Now open notepad Play with the above codes and: 
 Save it as index.html and open it in you browser.
See what happens and stay tuned for next tutorial. If you have any doubts, feel free to comment and i will get back to you with your doubts.you can Download the source file here.
Note:  If the any tag doesn't work try upgrading your browser or try changing your browser or approach me with your problem.

Stay tuned for more.

0 comments:

Post a Comment