+ 2
Does the <section> tag matter?
I noticed that the <section> tag really does nothing, nor does the <nav> tag when I made my navigation bar. Why should I use them?
6 Respuestas
+ 5
Kyle you wrote very good question. Section, article, header, aside, main, nav and footer are all semantic elements introduced in HTML5. All are very important and developers should use them correctly. Correct use of these elements are very important for browsers. Correct use helps to search engines to better rate your page because your page content has correct structure. Search engines likes and better rates pages with correct and clear structure. For exemple, if you have main page called About us. Content of that page is divided with thematic ensemble: About company, Our services, Our team. To create these thematic ensemble you have to use <section>. Inside section, for further division of content, you have to use <article>.
+ 1
How about the Nav tag
0
So is section used once per page? or is it for every little section, eg. articles, pictures, email sign ups?