Important Notice:

Course Content
Heading Tag / Paragraph Tag
0/2
Horizontal Rules (HR element)
0/1
Font Element
0/1
Image Element
0/1
HTML Basic (Chapter 3) M2-R5.1
About Lesson

Semantic Elements

Semantic elements = elements with a meaning

            एक सिमेंटिक element ब्राउज़र और डेवलपर दोनों को इसका meaning स्पष्ट रूप से बताता है।

Examples of non-semantic elements: <div> and <span> – Tells nothing about its content.

Examples of semantic elements:       <form>, <table>, and <article> – Clearly defines its content.

Semantic Elements in HTML

  • <article>
  • <aside>
  • <details>
  • <figcaption>
  • <figure>
  • <footer>
  • <header>
  • <main>
  • <mark>
  • <nav>
  • <section>
  • <summary>
  • <time>

Semantic Elements

Semantic elements = elements with a meaning

            A semantic element clearly describes its meaning to both the browser and the developer.

Examples of non-semantic elements: <div> and <span> – Tells nothing about its content.

Examples of semantic elements:       <form>, <table>, and <article> – Clearly defines its content.

Semantic Elements in HTML

  • <article>
  • <aside>
  • <details>
  • <figcaption>
  • <figure>
  • <footer>
  • <header>
  • <main>
  • <mark>
  • <nav>
  • <section>
  • <summary>
  • <time>
error: Content is protected !!