Saidul Profile picture
Sep 7 โ€ข 11 tweets โ€ข 2 min read Twitter logo Read on Twitter
Why use HTML Semantic Elements?

Detailed explanation with visual presentation.

[ Save for later ๐Ÿ”–]

<>
HTML semantic elemnts
HTML Semantic Elements:

HTML elements provide meaning and structure to the content of a web page, making it understandable to browsers and developers.

Examples:
<article>
<aside>
<details>
<figcaption>
<figure>
<footer>
<header>
<main>
<mark>
<nav>
<section>
<summary>
<time>
โœ… <article>

Represents a self-contained content section, such as a blog post or news article.

โœ… <aside>

Typically used for content that is tangentially related to the main content, like sidebars or advertisements.
โœ… <details>

Creates a disclosure widget that can be used to hide or reveal additional information when clicked.

โœ… <figcaption>

Used to provide a caption for an <figure> element, which typically contains images, diagrams, or similar content.
โœ… <figure>

Used to encapsulate any content, such as images, illustrations, diagrams, etc.

โœ… <footer>

Represents the footer section of a document or a specific section, often containing metadata, copyright information, or links to related content.
โœ… <header>

Typically contains introductory content at the beginning of a section or a page, like headings, logos, and navigation menus.

โœ… <main>

Specifies the main content area within a document and should be unique within the <body> of the document.
โœ… <mark>

Used to highlight or mark portions of text within the content for reference or emphasis.

โœ… <nav>

Represents a navigation menu, often containing links to various parts of a website or web application.
โœ… <section>

Defines a section within a document, and it is often used to group related content together, providing structure.

โœ… <summary>

Used within a <details> element to provide a summary or label for the disclosure widget.
โœ… <time>

Represents a specific period in time or a timestamp. It can be used to display dates, times, or durations.
Importance of Semantic Elements:

โž Accessibility
โž SEO (Search Engine Optimization)
โž Maintainability and Readability
โž Consistency and Styling
โž Future-Proofing
โž Clarity for Developers
If you enjoyed this Thread.

1. Follow me @saidul_dev for more Threads.
2. Like and RT and share with your loved ones. Follow Saidul Islam @saidul_dev

โ€ข โ€ข โ€ข

Missing some Tweet in this thread? You can try to force a refresh
ใ€€

Keep Current with Saidul

Saidul Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @saidul_dev

Aug 30
Profile Card using HTML CSS.

Including code snippets.

[ Thread ๐Ÿงต]
HTML Codes.
profile card html css
profile card html css
CSS Codes.
profile card html css [css]
profile card html css [css]
Read 6 tweets
Aug 12
A Step-by-Step HTML Learning Roadmap with the use case of the tags/elements.

<< Thread ๐Ÿงต>>

[ Bookmark for Later ๐Ÿ“˜] https://t.co/jkcdQpclq4twitter.com/i/web/status/1โ€ฆ
Step-by-step html learning roadmap by @saidul_dev
1โƒฃ Basic HTML Tags.

=> It contains the core elements of the HTML document. html basic tags by @saidul_dev
2โƒฃ Semantic Layout Tags.

=> It represents an HTML page layout with meaningful tags.

And it's helpful for SEO. HTML semantic layout tags.
Read 11 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(