SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
HTML 5
SEMANTICS & NON-SEMANTIC
ELEMENTS
HTML5 Semantic Elements
• Semantics is the study of the meanings of words and phrases
in language.
• Semantic elements are elements with a meaning.
What are Semantic Elements?
• A semantic element clearly describes its meaning to both the
browser ad the developer.
• Examples of non-semantic elements: <div> and <span> - Tells
nothing about its content.
• Examples of semantic elements: <form>, <table>, and <img> -
Clearly defines its content.
New Semantic Elements in HTML5
HTML5 offers new semantic elements to define different parts of
a web page:
• <article>
• <aside>
• <details>
• <figcaption>
• <figure>
• <footer>
• <header>
• <main>
• <mark>
• <nav>
• <section>
• <summary>
• <time>
HTML5 <section> Element
• The <section> element defines a section in a document.
• "A section is a thematic grouping of content, typically with a
heading."
<section>
<h1>WWF</h1>
<p>The World Wide Fund for Nature (WWF) is....</p>
</section>
HTML5 <article> Element
• The <article> element specifies independent, self-contained
content.
• An article should make sense on its own, and it should be
possible to read it independently from the rest of the web
site.
<article>
<h1>What Does ARTICLE Do?</h1>
<p>This is the ARTICLE tag in HTML 5.</p>
</article>
HTML5 <header> Element
• The <header> element specifies a header for a document or
section.
• The <header> element should be used as a container for
introductory content.
• You can have several <header> elements in one document.
<article>
<header>
<h1>What Does HEADER Tag Do?</h1>
<p>Headers mission:</p>
</header>
<p>This is Header tag In HTML 5<p>
</article>
HTML5 <footer> Element
• The <footer> element specifies a footer for a document or
section.
• A <footer> element should contain information about its
containing element.
• You can have several <footer> elements in one document.
<footer>
<p>Posted by: Hege Refsnes</p>
<p>Contact information: <a href="mailto:someone@example.com">
someone@example.com</a>.</p>
</footer>
HTML5 <nav> Element
• The <nav> element defines a set of navigation links.
• The <nav> element is intended for large blocks of navigation
links. However, not all links in a document should be inside a
<nav> element!
<nav>
<a href="/html/">HTML</a> |
<a href="/css/">CSS</a> |
<a href="/js/">JavaScript</a> |
<a href="/jquery/">jQuery</a>
</nav>
Why Semantic HTML5 Elements?
• With HTML4, developers used their own favorite attribute
names to style page elements:
• header, top, bottom, footer, menu, navigation, main,
container, content, article, sidebar, topnav, ...
• This made it impossible for search engines to identify the
correct web page content.
Why Semantic HTML5 Elements?
• With HTML5 elements like:
• <header> <footer> <nav> <section> <article>, this will become
easier.
• "Allows data to be shared and reused across applications,
enterprises, and communities."
Html5 semantics

More Related Content

PPTX
HTML Semantic Elements
PPT
Introduction to HTML
PDF
PPTX
PPTX
PPSX
Introduction to Html5
PPTX
HTML Fundamentals
PPTX
HTML/HTML5
HTML Semantic Elements
Introduction to HTML
Introduction to Html5
HTML Fundamentals
HTML/HTML5

What's hot (20)

PPTX
HTML Semantic Tags
PPT
Introduction to Cascading Style Sheets (CSS)
PDF
Intro to HTML and CSS basics
PPTX
Basic HTML
PPT
Eye catching HTML BASICS tips: Learn easily
PPTX
How to learn HTML in 10 Days
PPT
CSS for Beginners
PPTX
Basic Html Knowledge for students
PDF
CSS Day: CSS Grid Layout
PPT
CSS Basics
PPTX
Html n CSS
PDF
Introduction to HTML5
PPTX
Html ppt
PPTX
Html form tag
PPTX
Html5 and-css3-overview
PDF
HTML and CSS crash course!
PPTX
Introduction to HTML and CSS
PDF
Introduction to HTML and CSS
PDF
jQuery for beginners
PPT
Introduction to HTML5
HTML Semantic Tags
Introduction to Cascading Style Sheets (CSS)
Intro to HTML and CSS basics
Basic HTML
Eye catching HTML BASICS tips: Learn easily
How to learn HTML in 10 Days
CSS for Beginners
Basic Html Knowledge for students
CSS Day: CSS Grid Layout
CSS Basics
Html n CSS
Introduction to HTML5
Html ppt
Html form tag
Html5 and-css3-overview
HTML and CSS crash course!
Introduction to HTML and CSS
Introduction to HTML and CSS
jQuery for beginners
Introduction to HTML5
Ad

Similar to Html5 semantics (20)

PPTX
PRESENTASI PPT 10 Semantic Elements.pptx
PDF
Html5 semantics
PPTX
TPIP-1.pptx front end development of css
PPTX
Understanding the Web Page Layout
PPTX
Html5 structure & semantic
PPTX
Html 5 Semantics overview
PPTX
Introduction to the basics of HTML p1.pptx
PDF
Vskills certified html5 developer Notes
PPTX
cotd6.pptx
PPTX
T430-01-Introduction to HTML.pptx
PPTX
Mastering HTML: The Building Blocks of the Web
PPT
Intro to HTML5
PDF
Introduction to html5
PDF
Html and its future
PDF
W6 - Intro to HTML.pdf
PPT
HTML 5 Complete Reference
PDF
HTML5 Semantics
PPTX
Gail Borden Library | HTML/CSS Program
PPTX
Introduction to HTML- Week 3- HTMLSyntax
PRESENTASI PPT 10 Semantic Elements.pptx
Html5 semantics
TPIP-1.pptx front end development of css
Understanding the Web Page Layout
Html5 structure & semantic
Html 5 Semantics overview
Introduction to the basics of HTML p1.pptx
Vskills certified html5 developer Notes
cotd6.pptx
T430-01-Introduction to HTML.pptx
Mastering HTML: The Building Blocks of the Web
Intro to HTML5
Introduction to html5
Html and its future
W6 - Intro to HTML.pdf
HTML 5 Complete Reference
HTML5 Semantics
Gail Borden Library | HTML/CSS Program
Introduction to HTML- Week 3- HTMLSyntax
Ad

More from Webtech Learning (20)

PPTX
Benefits of Digital Marketing
PPTX
Digital Marketing Benefits
PPTX
Future Scope of Digital Marketing in India
PPTX
Css types internal, external and inline (1)
PPTX
Bootstrap webtech presentation - new
PPTX
Css presentation
PPTX
Client side &amp; Server side Scripting
PPTX
Software testing & Quality Assurance
PPTX
Shadows Effects in CSS
PPTX
Bs Typography
PPTX
Bootstrap grids
PPTX
Html formatting
PPTX
Css box-sizing
PPTX
Css position
PPTX
Css margins
PPTX
Css box-model
PPTX
Css Display Property
PPTX
Html media
PPTX
Css floats
PPTX
Css pseudo-classes
Benefits of Digital Marketing
Digital Marketing Benefits
Future Scope of Digital Marketing in India
Css types internal, external and inline (1)
Bootstrap webtech presentation - new
Css presentation
Client side &amp; Server side Scripting
Software testing & Quality Assurance
Shadows Effects in CSS
Bs Typography
Bootstrap grids
Html formatting
Css box-sizing
Css position
Css margins
Css box-model
Css Display Property
Html media
Css floats
Css pseudo-classes

Recently uploaded (20)

PDF
BRANDBOOK-Presidential Award Scheme-Kenya-2023
PDF
Facade & Landscape Lighting Techniques and Trends.pptx.pdf
PPTX
Causes of Flooding by Slidesgo sdnl;asnjdl;asj.pptx
PDF
SEVA- Fashion designing-Presentation.pdf
PPTX
YV PROFILE PROJECTS PROFILE PRES. DESIGN
PDF
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
PDF
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
PDF
Phone away, tabs closed: No multitasking
PDF
Interior Structure and Construction A1 NGYANQI
PPTX
DOC-20250430-WA0014._20250714_235747_0000.pptx
PDF
Urban Design Final Project-Context
PDF
Wio LTE JP Version v1.3b- 4G, Cat.1, Espruino Compatible\202001935, PCBA;Wio ...
PDF
High-frequency high-voltage transformer outline drawing
PDF
Quality Control Management for RMG, Level- 4, Certificate
PPT
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
PDF
Urban Design Final Project-Site Analysis
PPTX
Tenders & Contracts Works _ Services Afzal.pptx
PPTX
HPE Aruba-master-icon-library_052722.pptx
PDF
YOW2022-BNE-MinimalViableArchitecture.pdf
DOCX
actividad 20% informatica microsoft project
BRANDBOOK-Presidential Award Scheme-Kenya-2023
Facade & Landscape Lighting Techniques and Trends.pptx.pdf
Causes of Flooding by Slidesgo sdnl;asnjdl;asj.pptx
SEVA- Fashion designing-Presentation.pdf
YV PROFILE PROJECTS PROFILE PRES. DESIGN
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
Phone away, tabs closed: No multitasking
Interior Structure and Construction A1 NGYANQI
DOC-20250430-WA0014._20250714_235747_0000.pptx
Urban Design Final Project-Context
Wio LTE JP Version v1.3b- 4G, Cat.1, Espruino Compatible\202001935, PCBA;Wio ...
High-frequency high-voltage transformer outline drawing
Quality Control Management for RMG, Level- 4, Certificate
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
Urban Design Final Project-Site Analysis
Tenders & Contracts Works _ Services Afzal.pptx
HPE Aruba-master-icon-library_052722.pptx
YOW2022-BNE-MinimalViableArchitecture.pdf
actividad 20% informatica microsoft project

Html5 semantics

  • 1. HTML 5 SEMANTICS & NON-SEMANTIC ELEMENTS
  • 2. HTML5 Semantic Elements • Semantics is the study of the meanings of words and phrases in language. • Semantic elements are elements with a meaning.
  • 3. What are Semantic Elements? • A semantic element clearly describes its meaning to both the browser ad the developer. • Examples of non-semantic elements: <div> and <span> - Tells nothing about its content. • Examples of semantic elements: <form>, <table>, and <img> - Clearly defines its content.
  • 4. New Semantic Elements in HTML5 HTML5 offers new semantic elements to define different parts of a web page: • <article> • <aside> • <details> • <figcaption> • <figure> • <footer> • <header> • <main> • <mark> • <nav> • <section> • <summary> • <time>
  • 5. HTML5 <section> Element • The <section> element defines a section in a document. • "A section is a thematic grouping of content, typically with a heading." <section> <h1>WWF</h1> <p>The World Wide Fund for Nature (WWF) is....</p> </section>
  • 6. HTML5 <article> Element • The <article> element specifies independent, self-contained content. • An article should make sense on its own, and it should be possible to read it independently from the rest of the web site. <article> <h1>What Does ARTICLE Do?</h1> <p>This is the ARTICLE tag in HTML 5.</p> </article>
  • 7. HTML5 <header> Element • The <header> element specifies a header for a document or section. • The <header> element should be used as a container for introductory content. • You can have several <header> elements in one document. <article> <header> <h1>What Does HEADER Tag Do?</h1> <p>Headers mission:</p> </header> <p>This is Header tag In HTML 5<p> </article>
  • 8. HTML5 <footer> Element • The <footer> element specifies a footer for a document or section. • A <footer> element should contain information about its containing element. • You can have several <footer> elements in one document. <footer> <p>Posted by: Hege Refsnes</p> <p>Contact information: <a href="mailto:someone@example.com"> someone@example.com</a>.</p> </footer>
  • 9. HTML5 <nav> Element • The <nav> element defines a set of navigation links. • The <nav> element is intended for large blocks of navigation links. However, not all links in a document should be inside a <nav> element! <nav> <a href="/html/">HTML</a> | <a href="/css/">CSS</a> | <a href="/js/">JavaScript</a> | <a href="/jquery/">jQuery</a> </nav>
  • 10. Why Semantic HTML5 Elements? • With HTML4, developers used their own favorite attribute names to style page elements: • header, top, bottom, footer, menu, navigation, main, container, content, article, sidebar, topnav, ... • This made it impossible for search engines to identify the correct web page content.
  • 11. Why Semantic HTML5 Elements? • With HTML5 elements like: • <header> <footer> <nav> <section> <article>, this will become easier. • "Allows data to be shared and reused across applications, enterprises, and communities."