Monday, 15 December 2014

HTML5 - semantic element

New element is adopted to HTML5, which is called "semantic element"


Could you find the new tag in the picture above?

You may find new tag from there like <header>, <nav>, <section>, <article> and <footer>.

If you compare result with HTML4, it would show same result but when dealing with the document on web browser, it has great difference.

- easy to recognize where is title, menu or real content by the tags.
   
- when searching site, it enables to find exact information what you want to find by the tag. For example, if you have to find main content, you can go straightly to the section and article not header or nav.

- In the aspect related to web accessibility, it is really important. For example, blind people use reader tool as helping tool. Reader tool recognizes where is header or content by the tag.

No comments:

Post a Comment