SlideShare a Scribd company logo
HTML 5
Semantic Elements
Overview
Structural Semantics
<header></header>
                                      Old html style
<div id=“header”>
       <h1> Important heading </h1>
</div>


                                      Semantic style
<header>
     <h1> Important heading </h1>
</header>
How to use it
<header>                      Single header represent the main
       <h1> heading </h1>     header of the web page
</header>


<article>
    <header>                  Header element used as article
         <h1> heading </h1>   header
    </header>
    <p>
         Some content
    </p>
</article>
How to use it

<header>
       <h1> heading </h1>
</header>                     W3C Recommend, to use header
                              element with some <h1> - <h6>
                              element but it’s not strictly required
<article>
    <header>
         <h1> heading </h1>
    </header>
    <p>
         Some content
    </p>
</article>
<hgroup></hgroup>
<hgroup>
                                Wrap multiple H1-H6 elements
       <h1> HTML 5 </h1>        with related meaning .
       <h2> the new way </h2>   Title and Subtitle
</hgroup>

<header>
     <hgroup>
        <h1>HTML 5</h1>         Typical place for hgroup element
        <h2>the new way </h2>   is in the header element
     </hgroup>
</header>
<footer></footer>
                                      Old html style
<div id=“footer”>
       <h1> Important heading </h1>
</div>


                                      Semantic style
<footer>
      <h1> Important heading </h1>
</footer>
<section></section>
<section>
       <h1>Title #1</h1>                 Section Element Wrap some
       <p>Some content</p>               generic content

</section>
<section>
       <h1>Title #2</h1>                  It’s good idea to start with
                                          Heading element
       <p>Some content</p>
</section>

Use section only if it’s not appropriate to use <article> , and
you don’t need to style the section
<article></article>
  <article>
           <header>                           Usually have a header with
                    <h1>Title</h1>            information about the article
           </header>
           <p>Some content</p>
           <footer>
                    Auto Info                 Usually have a footer with
           </footer>                          information about the autor
  </article>



<article> Element wrap self-contained composition in a Web page which can exist
on his own line newspaper article or blog post.
<nav></nav>
<nav>
         <ul>
                  <lI><a href=“home.html”>Home</a></li>
                  <lI><a href=“about_us.html”>About us</a></li>
                  <lI><a href=“portfolio.html”>Portfolio</a></li>
         </ul>
</nav>


Using of <nav> element is self explanatory, it’s wrap a navigation element of
the web page. The navigation could be primary or secondary.
<aside></aside> (as a secondary content)
<aside>
           <h1>My favorite tweets </h1>
           <ul>                           <aside> element outside of
                <lI> Some tweet #1</li>   <article> element wrap
                                          secondary content related to the
                <li> Some tweet #2</li>
                                          web page
           </ul>
</aside>



<aside> element it’s not obligatory a sidebar element(visually)
<aside></aside> (as a related to main content)
<article>
         <p>Main article content</p>         Main article content

         <aside>
         <h2>Related content</h2>
         <ul>
                                       <aside> element in <article> element
              <lI> Content #1</li>     wrap secondary content related to the
              <li> Content #2</li>     article content
         </ul>
         </aside>
</article>
<figure></figure> | <figcaption> </figcaption>

<figure>
       <img src=“some_img.png” alt=“some img”/>
       <figcaption>
              Just Some Image no big deal
       </figcaption>
</figure>

               Description of the targeted element

Wrap semantic (image/ diagram / code block / canvas ) from the main
flow of the document, (related to the main topic)
Time and Location Semantics
<time></time> (without datetime attribute)
<time>2012 - 21 - 12</time>                            Valid Date Format

<time>15:30</time>                                      Valid Time Format

<time>-08:00</time>                                      Valid Time Zone Format


<time>2012 - 21 - 12 15:30</time>                        Valid Date and Time Format




Time element without datetime attribute must contain only valid date / time /
date and time / time zone etc.
<time></time> (with datetime attribute)
<time datetime=“2012 – 21 - 12 ”>
The end of the world
</time>
                     Valid Date / Time / Date – time Format



When we use datetime attribute we can add extra info between opening and
closing <time> tag
Audio and Video Semantics
<video></video> | <audio></audio>
<video src=“video_file.ogg”>                         It’s shown if the browser doesn’t
Browser support massage
                                                     Support video element
</video>


<audio src=“audio_file.mp3”>                          It’s shown if the browser doesn’t
Browser support massage
                                                      Support audio element
</audio>


Build in media support for video and audio files in different
formats. For detailed specification:
http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#the-video-element

More Related Content

What's hot

HTML Semantic Tags
HTML Semantic TagsHTML Semantic Tags
HTML Semantic Tags
Bruce Kyle
 
Fronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-templateFronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-template
Inventis Web Architects
 
Html introduction
Html introductionHtml introduction
Html introduction
Nuhu Abdul Razak
 
46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world
hemi46h
 
Html page elements
Html page elementsHtml page elements
Html page elements
Dan Carver
 
HTML, CSS, JavaScript for beginners
HTML, CSS, JavaScript for beginnersHTML, CSS, JavaScript for beginners
HTML, CSS, JavaScript for beginners
PrakritiDhang
 
SPCA2013 - Content Search Web Part
SPCA2013 - Content Search Web PartSPCA2013 - Content Search Web Part
SPCA2013 - Content Search Web Part
NCCOMMS
 
Coding a Website with HTML
Coding a Website with HTMLCoding a Website with HTML
Coding a Website with HTML
wrhsbusiness
 
SharePoint 2013 Content search web part - Get it all in one place and style it!
SharePoint 2013 Content search web part - Get it all in one place and style it!SharePoint 2013 Content search web part - Get it all in one place and style it!
SharePoint 2013 Content search web part - Get it all in one place and style it!
Benjamin Niaulin
 
HTML and CSS crash course!
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!
Ana Cidre
 
Castro Chapter 6
Castro Chapter 6Castro Chapter 6
Castro Chapter 6
Jeff Byrnes
 
Basic html
Basic htmlBasic html
Basic html
Arun kumar
 
HTML Link - Image - Comments
HTML  Link - Image - CommentsHTML  Link - Image - Comments
HTML Link - Image - Comments
Hameda Hurmat
 
HTML5 - Just the basics
HTML5 - Just the basicsHTML5 - Just the basics
HTML5 - Just the basics
James VanDyke
 
Web design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionWeb design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introduction
Mustafa Kamel Mohammadi
 
Developing Branding Solutions for 2013
Developing Branding Solutions for 2013Developing Branding Solutions for 2013
Developing Branding Solutions for 2013
Thomas Daly
 
Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365
Eric Overfield
 
Basic HTML/CSS
Basic HTML/CSSBasic HTML/CSS
Basic HTML/CSS
Chris Heiden
 
Introduction to Html by Ankitkumar Singh
Introduction to Html by Ankitkumar SinghIntroduction to Html by Ankitkumar Singh
Introduction to Html by Ankitkumar Singh
Ankitkumar Singh
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
Daniel Friedman
 

What's hot (20)

HTML Semantic Tags
HTML Semantic TagsHTML Semantic Tags
HTML Semantic Tags
 
Fronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-templateFronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-template
 
Html introduction
Html introductionHtml introduction
Html introduction
 
46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world
 
Html page elements
Html page elementsHtml page elements
Html page elements
 
HTML, CSS, JavaScript for beginners
HTML, CSS, JavaScript for beginnersHTML, CSS, JavaScript for beginners
HTML, CSS, JavaScript for beginners
 
SPCA2013 - Content Search Web Part
SPCA2013 - Content Search Web PartSPCA2013 - Content Search Web Part
SPCA2013 - Content Search Web Part
 
Coding a Website with HTML
Coding a Website with HTMLCoding a Website with HTML
Coding a Website with HTML
 
SharePoint 2013 Content search web part - Get it all in one place and style it!
SharePoint 2013 Content search web part - Get it all in one place and style it!SharePoint 2013 Content search web part - Get it all in one place and style it!
SharePoint 2013 Content search web part - Get it all in one place and style it!
 
HTML and CSS crash course!
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!
 
Castro Chapter 6
Castro Chapter 6Castro Chapter 6
Castro Chapter 6
 
Basic html
Basic htmlBasic html
Basic html
 
HTML Link - Image - Comments
HTML  Link - Image - CommentsHTML  Link - Image - Comments
HTML Link - Image - Comments
 
HTML5 - Just the basics
HTML5 - Just the basicsHTML5 - Just the basics
HTML5 - Just the basics
 
Web design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionWeb design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introduction
 
Developing Branding Solutions for 2013
Developing Branding Solutions for 2013Developing Branding Solutions for 2013
Developing Branding Solutions for 2013
 
Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365
 
Basic HTML/CSS
Basic HTML/CSSBasic HTML/CSS
Basic HTML/CSS
 
Introduction to Html by Ankitkumar Singh
Introduction to Html by Ankitkumar SinghIntroduction to Html by Ankitkumar Singh
Introduction to Html by Ankitkumar Singh
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
 

Viewers also liked

Semantic markup language
Semantic markup languageSemantic markup language
Semantic markup language
Partnered Health
 
Towards From Manual to Automatic Semantic Annotation: Based on Ontology Eleme...
Towards From Manual to Automatic Semantic Annotation: Based on Ontology Eleme...Towards From Manual to Automatic Semantic Annotation: Based on Ontology Eleme...
Towards From Manual to Automatic Semantic Annotation: Based on Ontology Eleme...
IJwest
 
Paris talk
Paris talkParis talk
Paris talk
Pavel Rudnev
 
Semantic structure of sentence
Semantic structure of sentenceSemantic structure of sentence
Semantic structure of sentence
Gustina Savhira
 
Semantics: The Meaning of Language
Semantics: The Meaning of LanguageSemantics: The Meaning of Language
Semantics: The Meaning of Language
Jeffren Miguel
 
Semantics
SemanticsSemantics
Semantics
Dr. Cupid Lucid
 
Semantics: Meanings of Language
Semantics: Meanings of LanguageSemantics: Meanings of Language
Semantics: Meanings of Language
JESSIE GRACE RUBRICO
 
SYNONYMS, ANTONYMS, POLYSEMY, HOMONYM, AND HOMOGRAPH
SYNONYMS, ANTONYMS, POLYSEMY,  HOMONYM, AND HOMOGRAPHSYNONYMS, ANTONYMS, POLYSEMY,  HOMONYM, AND HOMOGRAPH
SYNONYMS, ANTONYMS, POLYSEMY, HOMONYM, AND HOMOGRAPH
Lili Lulu
 
Semantics: Seven types of meaning
Semantics: Seven types of meaningSemantics: Seven types of meaning
Semantics: Seven types of meaning
Miftadia Laula
 
SEMANTICS
SEMANTICS SEMANTICS
SEMANTICS
Hameel Khan
 
Semantics
SemanticsSemantics

Viewers also liked (11)

Semantic markup language
Semantic markup languageSemantic markup language
Semantic markup language
 
Towards From Manual to Automatic Semantic Annotation: Based on Ontology Eleme...
Towards From Manual to Automatic Semantic Annotation: Based on Ontology Eleme...Towards From Manual to Automatic Semantic Annotation: Based on Ontology Eleme...
Towards From Manual to Automatic Semantic Annotation: Based on Ontology Eleme...
 
Paris talk
Paris talkParis talk
Paris talk
 
Semantic structure of sentence
Semantic structure of sentenceSemantic structure of sentence
Semantic structure of sentence
 
Semantics: The Meaning of Language
Semantics: The Meaning of LanguageSemantics: The Meaning of Language
Semantics: The Meaning of Language
 
Semantics
SemanticsSemantics
Semantics
 
Semantics: Meanings of Language
Semantics: Meanings of LanguageSemantics: Meanings of Language
Semantics: Meanings of Language
 
SYNONYMS, ANTONYMS, POLYSEMY, HOMONYM, AND HOMOGRAPH
SYNONYMS, ANTONYMS, POLYSEMY,  HOMONYM, AND HOMOGRAPHSYNONYMS, ANTONYMS, POLYSEMY,  HOMONYM, AND HOMOGRAPH
SYNONYMS, ANTONYMS, POLYSEMY, HOMONYM, AND HOMOGRAPH
 
Semantics: Seven types of meaning
Semantics: Seven types of meaningSemantics: Seven types of meaning
Semantics: Seven types of meaning
 
SEMANTICS
SEMANTICS SEMANTICS
SEMANTICS
 
Semantics
SemanticsSemantics
Semantics
 

Similar to Html 5 Semantics overview

What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)
Ahsan Rahim
 
Html 5, a gentle introduction
Html 5, a gentle introductionHtml 5, a gentle introduction
Html 5, a gentle introduction
Diego Scataglini
 
Html5, a gentle introduction
Html5, a gentle introduction Html5, a gentle introduction
Html5, a gentle introduction
Diego Scataglini
 
Beginning Html 5 Presentation
Beginning Html 5 PresentationBeginning Html 5 Presentation
Beginning Html 5 Presentation
Usman Saleem
 
Hyper text markup Language
Hyper text markup LanguageHyper text markup Language
Hyper text markup Language
Naveeth Babu
 
IT Unit III.pptx
IT Unit III.pptxIT Unit III.pptx
IT Unit III.pptx
Karthik Rohan
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5
Robert Nyman
 
WordCamp Tokyo 2011 komori
WordCamp Tokyo 2011 komoriWordCamp Tokyo 2011 komori
WordCamp Tokyo 2011 komori
masaaki komori
 
HTML Coding #01 : Don't Fear the Code
HTML Coding #01 : Don't Fear the CodeHTML Coding #01 : Don't Fear the Code
HTML Coding #01 : Don't Fear the Code
Michael Sturgeon
 
HTML5 tags.ppt
HTML5 tags.pptHTML5 tags.ppt
HTML5 tags.ppt
abcxyz1337
 
Header,nav,footer
Header,nav,footerHeader,nav,footer
Header,nav,footer
sidneyodingo
 
Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5
Russ Weakley
 
Semantic HTML5
Semantic HTML5Semantic HTML5
Semantic HTML5
Terry Ryan
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
malrad1
 
HTML5 introduction
HTML5 introductionHTML5 introduction
HTML5 introduction
Kaali Kiran Thammanna
 
Html ppt
Html pptHtml ppt
Html ppt
Ruchi Kumari
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
PL dream
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
Jerry Wijaya
 
Html5 quick learning guide
Html5 quick learning guideHtml5 quick learning guide
Html5 quick learning guide
Prima Utama Apriansyah
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
Ashok Suragala
 

Similar to Html 5 Semantics overview (20)

What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)
 
Html 5, a gentle introduction
Html 5, a gentle introductionHtml 5, a gentle introduction
Html 5, a gentle introduction
 
Html5, a gentle introduction
Html5, a gentle introduction Html5, a gentle introduction
Html5, a gentle introduction
 
Beginning Html 5 Presentation
Beginning Html 5 PresentationBeginning Html 5 Presentation
Beginning Html 5 Presentation
 
Hyper text markup Language
Hyper text markup LanguageHyper text markup Language
Hyper text markup Language
 
IT Unit III.pptx
IT Unit III.pptxIT Unit III.pptx
IT Unit III.pptx
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5
 
WordCamp Tokyo 2011 komori
WordCamp Tokyo 2011 komoriWordCamp Tokyo 2011 komori
WordCamp Tokyo 2011 komori
 
HTML Coding #01 : Don't Fear the Code
HTML Coding #01 : Don't Fear the CodeHTML Coding #01 : Don't Fear the Code
HTML Coding #01 : Don't Fear the Code
 
HTML5 tags.ppt
HTML5 tags.pptHTML5 tags.ppt
HTML5 tags.ppt
 
Header,nav,footer
Header,nav,footerHeader,nav,footer
Header,nav,footer
 
Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5
 
Semantic HTML5
Semantic HTML5Semantic HTML5
Semantic HTML5
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
HTML5 introduction
HTML5 introductionHTML5 introduction
HTML5 introduction
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
 
Html5 quick learning guide
Html5 quick learning guideHtml5 quick learning guide
Html5 quick learning guide
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
 

More from Михаил Петров

JS Event Model
JS Event ModelJS Event Model
DOM API Java Script
DOM API Java ScriptDOM API Java Script
DOM API Java Script
Михаил Петров
 
Object - Oriented Java Script
Object - Oriented Java ScriptObject - Oriented Java Script
Object - Oriented Java Script
Михаил Петров
 
strings and objects in JavaScript
strings and  objects in JavaScriptstrings and  objects in JavaScript
strings and objects in JavaScript
Михаил Петров
 
JavaScript intro
JavaScript introJavaScript intro
JavaScript intro
Михаил Петров
 
Emmet(zen coding)
Emmet(zen coding)Emmet(zen coding)
Emmet(zen coding)
Михаил Петров
 
Less & Sass
Less & SassLess & Sass
Css selectors
Css selectorsCss selectors
Pseudo CSS Selectors
Pseudo CSS SelectorsPseudo CSS Selectors
Pseudo CSS Selectors
Михаил Петров
 
Науката през погледа на младите
Науката през погледа на младитеНауката през погледа на младите
Науката през погледа на младите
Михаил Петров
 

More from Михаил Петров (11)

JS Event Model
JS Event ModelJS Event Model
JS Event Model
 
DOM API Java Script
DOM API Java ScriptDOM API Java Script
DOM API Java Script
 
Object - Oriented Java Script
Object - Oriented Java ScriptObject - Oriented Java Script
Object - Oriented Java Script
 
strings and objects in JavaScript
strings and  objects in JavaScriptstrings and  objects in JavaScript
strings and objects in JavaScript
 
Arrays and Functions in JavaScript
Arrays and Functions in JavaScriptArrays and Functions in JavaScript
Arrays and Functions in JavaScript
 
JavaScript intro
JavaScript introJavaScript intro
JavaScript intro
 
Emmet(zen coding)
Emmet(zen coding)Emmet(zen coding)
Emmet(zen coding)
 
Less & Sass
Less & SassLess & Sass
Less & Sass
 
Css selectors
Css selectorsCss selectors
Css selectors
 
Pseudo CSS Selectors
Pseudo CSS SelectorsPseudo CSS Selectors
Pseudo CSS Selectors
 
Науката през погледа на младите
Науката през погледа на младитеНауката през погледа на младите
Науката през погледа на младите
 

Recently uploaded

Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
spdendr
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
Amin Marwan
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Leena Ghag-Sakpal
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
Chevonnese Chevers Whyte, MBA, B.Sc.
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 

Recently uploaded (20)

Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 

Html 5 Semantics overview

  • 3. <header></header> Old html style <div id=“header”> <h1> Important heading </h1> </div> Semantic style <header> <h1> Important heading </h1> </header>
  • 4. How to use it <header> Single header represent the main <h1> heading </h1> header of the web page </header> <article> <header> Header element used as article <h1> heading </h1> header </header> <p> Some content </p> </article>
  • 5. How to use it <header> <h1> heading </h1> </header> W3C Recommend, to use header element with some <h1> - <h6> element but it’s not strictly required <article> <header> <h1> heading </h1> </header> <p> Some content </p> </article>
  • 6. <hgroup></hgroup> <hgroup> Wrap multiple H1-H6 elements <h1> HTML 5 </h1> with related meaning . <h2> the new way </h2> Title and Subtitle </hgroup> <header> <hgroup> <h1>HTML 5</h1> Typical place for hgroup element <h2>the new way </h2> is in the header element </hgroup> </header>
  • 7. <footer></footer> Old html style <div id=“footer”> <h1> Important heading </h1> </div> Semantic style <footer> <h1> Important heading </h1> </footer>
  • 8. <section></section> <section> <h1>Title #1</h1> Section Element Wrap some <p>Some content</p> generic content </section> <section> <h1>Title #2</h1> It’s good idea to start with Heading element <p>Some content</p> </section> Use section only if it’s not appropriate to use <article> , and you don’t need to style the section
  • 9. <article></article> <article> <header> Usually have a header with <h1>Title</h1> information about the article </header> <p>Some content</p> <footer> Auto Info Usually have a footer with </footer> information about the autor </article> <article> Element wrap self-contained composition in a Web page which can exist on his own line newspaper article or blog post.
  • 10. <nav></nav> <nav> <ul> <lI><a href=“home.html”>Home</a></li> <lI><a href=“about_us.html”>About us</a></li> <lI><a href=“portfolio.html”>Portfolio</a></li> </ul> </nav> Using of <nav> element is self explanatory, it’s wrap a navigation element of the web page. The navigation could be primary or secondary.
  • 11. <aside></aside> (as a secondary content) <aside> <h1>My favorite tweets </h1> <ul> <aside> element outside of <lI> Some tweet #1</li> <article> element wrap secondary content related to the <li> Some tweet #2</li> web page </ul> </aside> <aside> element it’s not obligatory a sidebar element(visually)
  • 12. <aside></aside> (as a related to main content) <article> <p>Main article content</p> Main article content <aside> <h2>Related content</h2> <ul> <aside> element in <article> element <lI> Content #1</li> wrap secondary content related to the <li> Content #2</li> article content </ul> </aside> </article>
  • 13. <figure></figure> | <figcaption> </figcaption> <figure> <img src=“some_img.png” alt=“some img”/> <figcaption> Just Some Image no big deal </figcaption> </figure> Description of the targeted element Wrap semantic (image/ diagram / code block / canvas ) from the main flow of the document, (related to the main topic)
  • 14. Time and Location Semantics
  • 15. <time></time> (without datetime attribute) <time>2012 - 21 - 12</time> Valid Date Format <time>15:30</time> Valid Time Format <time>-08:00</time> Valid Time Zone Format <time>2012 - 21 - 12 15:30</time> Valid Date and Time Format Time element without datetime attribute must contain only valid date / time / date and time / time zone etc.
  • 16. <time></time> (with datetime attribute) <time datetime=“2012 – 21 - 12 ”> The end of the world </time> Valid Date / Time / Date – time Format When we use datetime attribute we can add extra info between opening and closing <time> tag
  • 17. Audio and Video Semantics
  • 18. <video></video> | <audio></audio> <video src=“video_file.ogg”> It’s shown if the browser doesn’t Browser support massage Support video element </video> <audio src=“audio_file.mp3”> It’s shown if the browser doesn’t Browser support massage Support audio element </audio> Build in media support for video and audio files in different formats. For detailed specification: http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#the-video-element