HTML elements can be divided into 9 groups.
div β β
semantics β β
Open: π§΅
div β β
semantics β β
Open: π§΅
- So in the last thread, we discussed all possible groups of HTML elements.
- In today's thread, we are going to deep dive into the first category of that group, which is semantic elements.
- In today's thread, we are going to deep dive into the first category of that group, which is semantic elements.
π Table of Contents:
β <header>
β <nav>
β <section>
β <article>
β <aside>
β <footer>
β <main>
β <figure>
β <figcaption>
β <blockquote>
β <cite>
β <header>
β <nav>
β <section>
β <article>
β <aside>
β <footer>
β <main>
β <figure>
β <figcaption>
β <blockquote>
β <cite>
β <header>
- This HTML element represents the introductory content at the top of a page or section.
- It often contains the logo of the site, navigation links, etc.
- This HTML element represents the introductory content at the top of a page or section.
- It often contains the logo of the site, navigation links, etc.
β <nav>
- This HTML element is used to define a section of navigation links.
- It typically contains a collection of navigation elements such as menus, lists, or links that navigate within or outside of the website.
- This HTML element is used to define a section of navigation links.
- It typically contains a collection of navigation elements such as menus, lists, or links that navigate within or outside of the website.
β <section>
- This HTML element defines a standalone section within a web page.
- It represents a thematic grouping of the content, such as a chapter, tabbed content, or a specific area with related information.
- This HTML element defines a standalone section within a web page.
- It represents a thematic grouping of the content, such as a chapter, tabbed content, or a specific area with related information.
β <article>
- This HTML element represents a self-contained section within a document.
- A page can have multiple article elements, such as a blog post, news article, or forum post.
- This HTML element represents a self-contained section within a document.
- A page can have multiple article elements, such as a blog post, news article, or forum post.
β <aside>
- This HTML element represents content that is related to the main content of the document.
- It is typically used for sidebars, advertising sections, etc.
- This HTML element represents content that is related to the main content of the document.
- It is typically used for sidebars, advertising sections, etc.
β <footer>
- This HTML element represents the footer section of the web page.
- It typically contains information about the author, copyright, contact form or details, related links, etc.
- This HTML element represents the footer section of the web page.
- It typically contains information about the author, copyright, contact form or details, related links, etc.
β <main>
- This HTML element represents the main content area of the web page.
- It should contain primary content that is unique to the document, excluding header, footers, sidebars, or navigation of the page.
- This HTML element represents the main content area of the web page.
- It should contain primary content that is unique to the document, excluding header, footers, sidebars, or navigation of the page.
β <figure>
- It is used to wrap self-contained content, such as an image, diagram, illustration, or code, etc.
- It is used to wrap self-contained content, such as an image, diagram, illustration, or code, etc.
β <figcaption>
- This HTML element is used to provide a caption or description for the content within a <figure> element.
- This HTML element is used to provide a caption or description for the content within a <figure> element.
β <blockquote>
- This HTML element is typically used to display a longer quotation from another source within the main content.
- This HTML element is typically used to display a longer quotation from another source within the main content.
β <cite>
- The cite element represents the title of a work, such as a book, a paper, an essay, a poem, etc.
- It is used to indicate the source or origin of the referenced work within the content.
- The cite element represents the title of a work, such as a book, a paper, an essay, a poem, etc.
- It is used to indicate the source or origin of the referenced work within the content.
That's all for now, we will meet in the next threadπ
π Follow Me @ATechAjay
For:
π€ AI Tool Tester
π Web Development
β¨ JavaScript
βοΈ React JS
π Writing Skill
π₯ Motivation
πΉ Growth
Thank you so much for staying to the end of this threadπ
π Follow Me @ATechAjay
For:
π€ AI Tool Tester
π Web Development
β¨ JavaScript
βοΈ React JS
π Writing Skill
π₯ Motivation
πΉ Growth
Thank you so much for staying to the end of this threadπ
Loading suggestions...