HTML has several semantic elements that define the different parts of a web page:
HTML5 Semantic Elements:
- - Defines a header for a document or a section
- - Defines a set of navigation links
-
- Defines a section in a document - - Defines an independent, self-contained content
- - Defines content aside from the content (like a sidebar)
- - Defines a footer for a document or a section
-
Details
- Defines additional details that the user can open and close on demand -
- Defines a heading for the Details
element
You can read more about semantic elements in our HTML Semantics chapter.
| Element | Markdown Syntax |
|---|---|
| Footnote | Here's a sentence with a footnote. [^1] |
| Heading ID | ### My Great Heading {#custom-id} |
| Definition List | term : Definition |
| Strikethrough | |
| Horizontal Rule | --- |
