HTML Semantic tags

HTML tags

Tag Name Description
Header Used to describe the header of the page
Main Used to define the main content of the page
Nav Used to define a main navigation menu
Section The section tag defines sections in a document, such as chapters, headers, footers, or any other sections of the document
Article Used to describe the main content of the page
Aside the aside tag defines some content aside from the content it is placed in
Footer Used to define the footer of the page
Figure Used to define images, diagrams, code listings
Figcaption The figcaption tag defines a caption for a figure element
Mark Used to define a marked text (with background color)
Details The details tag specifies additional details that the user can view or hide on demand
Summary The summary tag defines a visible heading for the details element. The heading can be clicked to view/hide the details
Time Used to define a human-readable date/time

Semantic HTML page structure