HTML5 Section Tag
The section Tag is a logical container of the page or article. Sections can be used to divide up content within an article. For example, a blog post has a section for its publishing date and author name, etc. In other words, we can use it for many different useful purposes.
Uses of section tag:-
- can be used as header when < section id="header" >
- can be used as footer when < section id="footer" >
- can be used as article when < section id="article" >
- can be used as the main container when < section id="main" >
Its syntax is:- < section >