SlideShare a Scribd company logo
1
What are Semantic Elements?
● Clearly describe their meaning in a human- and machine-readable way.
● A semantic Web allows data to be shared and reused across applications, enterprises, and
communities.
2
Non-semantic elements
● Tells nothing about its content.
● E.g. <div>, <span>
3
Non Semantic code
● <div id="nav">
● <div class="header">
● <div id="footer">
4
Semantic elements
● Clearly define what kind of content is present inside
● E.g. <form>, <table>, and <article>
5
HTML <section> Element
styles
● Defines a section in a document.
● Typically a container with some content and a heading
● E.g.
<section>
<h1>About us</h1>
<p>At Newton School, we are empowering people to become amazing full-stack
developers that allow them to earn 5-40 Lakh per annum salary in top-notch
companies in India.</p>
</section>
6
HTML <article> Element
styles
● Defines an independent, self-contained content.
● Something that can exist independently from the rest of the web site.
● E.g.
<article>
<h2>Mozilla Firefox</h2>
<p>Mozilla Firefox is an open-source web browser developed by Mozilla.
Firefox has been the second most popular web browser since January,
2018.</p>
</article>
7
HTML <header> Element
styles
● A container for header of a web application
● Usually has a logo, headings, set of navigational links etc.
● E.g.
<header>
<h1>Newton School</h1>
<ul>
<li><a href="/home">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/contact">Contact us</a></li>
</ul>
</header>
8
HTML <footer> Element
styles
● Defines a footer for a document or section
● Usually contains copyright information, contact information, related links, back to top links etc.
● E.g.
<footer>
<p>Author: Hege Refsnes</p>
<p><a href="mailto:hege@example.com">hege@example.com</a></p>
<p>&copy;Company A</p>
</footer>
9
HTML <nav> Element
styles
● Defines a set of navigation links.
● Usually the links to different pages/sections of the website.
● E.g.
<nav>
<a href="/home">Home</a> |
<a href="/about">About us</a> |
<a href="/pricing">Pricing</a> |
<a href="/contact">Contact us</a>
</nav>
10
HTML <aside> Element
styles
● Content that is not part of the flow of the text in which it appears
● However still related in some way
● E.g.
<aside>
<p>This is a sidebar, for example a terminology definition or a short
background to a historical figure.</p>
</aside>
11
Semantic elements overview
styles
12
HTML <time> Element
styles
● Translate the time into a machine-readable format so that
● Browsers can offer to add date reminders through the user's calendar, and search engines
can produce smarter search results.
● E.g.
<time datetime="2017-10-31T11:21:00+02:00">Tuesday, 31 October 2017</time>
Thank
You

More Related Content

PPTX
Html5 structure & semantic
PPTX
HTML Semantic Elements
PDF
Html5 semantics
PPTX
Html 5 Semantics overview
PPTX
HTML5 introduction
PDF
web designing blogger html codes
PDF
HTML5 - An introduction
ODP
Light introduction to HTML
Html5 structure & semantic
HTML Semantic Elements
Html5 semantics
Html 5 Semantics overview
HTML5 introduction
web designing blogger html codes
HTML5 - An introduction
Light introduction to HTML

Similar to cotd6.pptx (20)

PPTX
Introduction to the basics of HTML p1.pptx
KEY
Html5 Brown Bag
PDF
Html5 Exploring -- by Udayakumar Mathivanan
PPTX
PRESENTASI PPT 10 Semantic Elements.pptx
KEY
2022 HTML5: The future is now
PPTX
Html5 Introduction
PPTX
Xhtml and html5 basics
PPT
PDF
HTML5 Semantics
PPTX
T430-01-Introduction to HTML.pptx
PPTX
Web design - HTML (Hypertext Markup Language) introduction
PDF
Html5 p resentation by techmodi
PPTX
3 1-html-fundamentals-110302100520-phpapp02
PPTX
HTML Fundamentals
PPTX
4_5926925443935505826.pptx
PPT
it is a forntend ppt that discussed the topics of HTMl CSSfrontend.ppt
PDF
Wa html5-pdf
PDF
Wa html5-pdf
PDF
WEB Module 1.pdf
PPTX
Introduction to the basics of HTML p1.pptx
Html5 Brown Bag
Html5 Exploring -- by Udayakumar Mathivanan
PRESENTASI PPT 10 Semantic Elements.pptx
2022 HTML5: The future is now
Html5 Introduction
Xhtml and html5 basics
HTML5 Semantics
T430-01-Introduction to HTML.pptx
Web design - HTML (Hypertext Markup Language) introduction
Html5 p resentation by techmodi
3 1-html-fundamentals-110302100520-phpapp02
HTML Fundamentals
4_5926925443935505826.pptx
it is a forntend ppt that discussed the topics of HTMl CSSfrontend.ppt
Wa html5-pdf
Wa html5-pdf
WEB Module 1.pdf

Recently uploaded (20)

PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
AI in Product Development-omnex systems
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Digital Strategies for Manufacturing Companies
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
medical staffing services at VALiNTRY
PPTX
history of c programming in notes for students .pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Which alternative to Crystal Reports is best for small or large businesses.pdf
VVF-Customer-Presentation2025-Ver1.9.pptx
Design an Analysis of Algorithms I-SECS-1021-03
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Design an Analysis of Algorithms II-SECS-1021-03
How to Choose the Right IT Partner for Your Business in Malaysia
AI in Product Development-omnex systems
Odoo POS Development Services by CandidRoot Solutions
Upgrade and Innovation Strategies for SAP ERP Customers
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
CHAPTER 2 - PM Management and IT Context
Digital Strategies for Manufacturing Companies
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
medical staffing services at VALiNTRY
history of c programming in notes for students .pptx
Wondershare Filmora 15 Crack With Activation Key [2025
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool

cotd6.pptx

  • 1. 1 What are Semantic Elements? ● Clearly describe their meaning in a human- and machine-readable way. ● A semantic Web allows data to be shared and reused across applications, enterprises, and communities.
  • 2. 2 Non-semantic elements ● Tells nothing about its content. ● E.g. <div>, <span>
  • 3. 3 Non Semantic code ● <div id="nav"> ● <div class="header"> ● <div id="footer">
  • 4. 4 Semantic elements ● Clearly define what kind of content is present inside ● E.g. <form>, <table>, and <article>
  • 5. 5 HTML <section> Element styles ● Defines a section in a document. ● Typically a container with some content and a heading ● E.g. <section> <h1>About us</h1> <p>At Newton School, we are empowering people to become amazing full-stack developers that allow them to earn 5-40 Lakh per annum salary in top-notch companies in India.</p> </section>
  • 6. 6 HTML <article> Element styles ● Defines an independent, self-contained content. ● Something that can exist independently from the rest of the web site. ● E.g. <article> <h2>Mozilla Firefox</h2> <p>Mozilla Firefox is an open-source web browser developed by Mozilla. Firefox has been the second most popular web browser since January, 2018.</p> </article>
  • 7. 7 HTML <header> Element styles ● A container for header of a web application ● Usually has a logo, headings, set of navigational links etc. ● E.g. <header> <h1>Newton School</h1> <ul> <li><a href="/home">Home</a></li> <li><a href="/about">About</a></li> <li><a href="/contact">Contact us</a></li> </ul> </header>
  • 8. 8 HTML <footer> Element styles ● Defines a footer for a document or section ● Usually contains copyright information, contact information, related links, back to top links etc. ● E.g. <footer> <p>Author: Hege Refsnes</p> <p><a href="mailto:hege@example.com">hege@example.com</a></p> <p>&copy;Company A</p> </footer>
  • 9. 9 HTML <nav> Element styles ● Defines a set of navigation links. ● Usually the links to different pages/sections of the website. ● E.g. <nav> <a href="/home">Home</a> | <a href="/about">About us</a> | <a href="/pricing">Pricing</a> | <a href="/contact">Contact us</a> </nav>
  • 10. 10 HTML <aside> Element styles ● Content that is not part of the flow of the text in which it appears ● However still related in some way ● E.g. <aside> <p>This is a sidebar, for example a terminology definition or a short background to a historical figure.</p> </aside>
  • 12. 12 HTML <time> Element styles ● Translate the time into a machine-readable format so that ● Browsers can offer to add date reminders through the user's calendar, and search engines can produce smarter search results. ● E.g. <time datetime="2017-10-31T11:21:00+02:00">Tuesday, 31 October 2017</time>