SlideShare a Scribd company logo
1 of 109
Download to read offline
Welcome back!
Justin Halsall
CTO, betribes
Justin Halsall
CTO, betribes
Passions
Tables
nested fail
web standards
web stuff?!
web stuff?!
wtf?
wtf? thats cool!
web standards
web standards
web standards
Rails
cool!
Rails
Rails is
AWESOME!
XHTML 2.0
don’t hold your breath
backwards
compatible
and required all documents to be
served as XML
this buwdy aint
gonna fly...
its to fat...
he he
WHATWG
Web Hypertext Application
Technology Working Group
HTML5
W3C + WHATWG
Doctype
you know that long thing you always have to look up
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/
xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/
xhtml1-strict.dtd">
<!DOCTYPE html>
Charset
meta, bla bla bla utf-8!
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8">
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8">
<meta charset="utf-8" />
<link type="text/css"
rel="stylesheet" href="screen.css">
<script type="text/javascript"
src="konamicode.js"></script>
<link rel="stylesheet"
href="screen.css">
<script src="konamicode.js">
</script>
Block level <a>
Wait, that didn’t used to be valid...
<a href="http://thedailymo.com">
<h2>The Daily Mo</h2>
<p>An awesome Movember viral app.</p>
</a>
Cleanup
time...
frame, frameset,
noframes
frame, frameset,
noframes
NO MORE
acronym was
dropped for abbr
acronym was
dropped for abbr
font, big, center
& strike
font, big, center
& strike
NO MORE
Semantics
what do I care?
Accessibility
Not just for the blind anymore
SEO
Google is your biggest blind user
Repurposing
Your web app is your api
Usability
Surprisingly enough
related
related
related
related
unrelated
happy
New elements!
Structure
elements“heeeeead, body, section, footer...”
<header>
great for intros, navigation etc.
<section>
it’s all in the name
<nav>“lets go!”
“where to?”
“check the nav elements”
<article> useful for... articles?!
<article> useful for... articles?!
<aside>sidenotes
<footer> metadata related to parent
<footer> metadata related to parent
<hgroup>
grouping headings together
<hgroup>
<h1>...</h1>
<h2>...</h2>
</hgroup>
HTML Outline
HTML4
<div>
<h1>Forest elephants</h1>
<p>In this section, we discuss the lesser known forest
elephants.
...this section continues...
</div>
<div>
<h2>Habitat</h2>
<p>Forest elephants do not live in trees but among them.
...this subsection continues...
<div>
<h2>Diet</h2>
</div>
<h1>Mongolian gerbils</h1>
</div>
HTML4
<h1>Forest elephants</h1>
...
<h2>Habitat</h2>
...
<h2>Diet</h2>
...
<h1>Mongolian gerbils</h1>
HTML4
1. Forest elephants
1.1. Habitat
1.2. Diet
2. Mongolian gerbils
<h1>Forest elephants</h1>
...
<h2>Habitat</h2>
...
<h2>Diet</h2>
...
<h1>Mongolian gerbils</h1>
HTML5
<section>
<h1>Forest elephants</h1>
<p>In this section, we discuss the lesser known forest
elephants.
...this section continues...
</section>
<section>
<h2>Habitat</h2>
<p>Forest elephants do not live in trees but among them.
...this subsection continues...
<section>
<h1>Diet</h1>
</section>
<h2>Mongolian gerbils</h2>
</section>
HTML5
<section>
<h1>Forest elephants</h1>
</section>
<section>
<h2>Habitat</h2>
<section>
<h1>Diet</h1>
</section>
<h2>Mongolian gerbils</h2>
</section>
HTML5
1. Forest elephants
2. Habitat
2.1. Diet
3. Mongolian gerbils
<section>
<h1>Forest elephants</h1>
</section>
<section>
<h2>Habitat</h2>
<section>
<h1>Diet</h1>
</section>
<h2>Mongolian gerbils</h2>
</section>
sub headings not interesting in outline
h1
h2
sub headings not interesting in outline
h1
h2
HTML5
1. Soocial
1.1. Hassle free contact syncing
1.1.1. Pricing
<section>
<h1>Soocial</h1>
<h2>Hassle Free contact syncing</h2>
<section>
<h1>Pricing</h1>
</section>
...
</section>
HTML5
<section>
<hgroup>
<h1>Soocial</h1>
<h2>Hassle Free contact syncing</h2>
</hgroup>
<section>
<h1>Pricing</h1>
</section>
...
</section>
HTML5
<section>
<hgroup>
<h1>Soocial</h1>
<h2>Hassle Free contact syncing</h2>
</hgroup>
<section>
<h1>Pricing</h1>
</section>
...
</section>
HTML5
1. Soocial
1.1. Pricing
<section>
<hgroup>
<h1>Soocial</h1>
<h2>Hassle Free contact syncing</h2>
</hgroup>
<section>
<h1>Pricing</h1>
</section>
...
</section>
<figure> &
<figcaption>
images, graphs etc.
<figure> &
<figcaption>
images, graphs etc.
<time>
<time
datetime="2010-
11-01">8 days,
8 hrs and 5 min
from now</time>
<time>
<time
datetime="2010-
11-01">8 days,
8 hrs and 5 min
from now</time>
data- Attributes
<a
class="movie"
href="http://movienotify.com/
kick-ass[2010]"
data-name="Kick-Ass"
data-year="2010"
data-imdb-rating="8.1"
>Kick-Ass (2010)</a>
<a
class="movie"
href="http://movienotify.com/
kick-ass[2010]"
data-name="Kick-Ass"
data-year="2010"
data-imdb-rating="8.1"
>Kick-Ass (2010)</a>
<div id='trailer' class='loading'
data-src="<%=
movie_trailers_path @movie, :json
%>">
loading...
</div>
<div id='trailer' class='loading'
data-src="<%=
movie_trailers_path @movie, :json
%>">
loading...
</div>
HTML5 shiv: http://remysharp.com/2009/01/07/
html5-enabling-script/
<script>
document.createElement('header');
document.createElement('footer');
document.createElement('section');
...
</script>
modernizr.com
<body
class="no-multiplebgs ...">
Questions?
•Twitter: @juice10
•Screenshots:
•movienotify.com
•thedailymo.com
•blog: juice10.com
•pet project:
tvnotify.com
•We (Betribes.com) are
looking for cool new
colleagues.
Maybe you?
•E-mail:
justin@betribes.com
[passion fruit] http://www.flickr.com/photos/stefanvds/3260955737/
[tables] http://www.flickr.com/photos/cav666/3562455727/
[ipad stand] http://www.flickr.com/photos/4nton/4577185176/in/photostream/
[web] http://www.flickr.com/photos/foxypar4/2124673642/
[shark] http://www.flickr.com/photos/oskay/265899766/in/photostream/
[sedgeway] http://www.flickr.com/photos/oskay/265899988/sizes/o/in/photostream/
[smily hand] http://www.flickr.com/photos/dotbenjamin/2765083201/
[rails] http://www.flickr.com/photos/library_of_congress/2178402745/
[html5 fist] http://www.flickr.com/photos/justinsomnia/513636061/
[skelleton] http://www.flickr.com/photos/powerhouse_museum/2980051095/
[chicken] http://www.flickr.com/photos/uw_digital_images/4476181225/
[cleaner] http://www.flickr.com/photos/library_of_congress/
[fireworks] http://www.flickr.com/photos/bestrated1/341866875/
[google founders] http://www.wired.com/science/discoveries/news/2007/09/
dayintech_0907

More Related Content

What's hot

Week 3 html recap and css
Week 3   html recap and cssWeek 3   html recap and css
Week 3 html recap and css
brianjihoonlee
 

What's hot (20)

Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
 
HTML X CSS
HTML X CSSHTML X CSS
HTML X CSS
 
Web design
Web designWeb design
Web design
 
HTML/CSS Lecture 1
HTML/CSS Lecture 1HTML/CSS Lecture 1
HTML/CSS Lecture 1
 
Turorial css
Turorial cssTurorial css
Turorial css
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
HTML & XHTML Basics
HTML & XHTML BasicsHTML & XHTML Basics
HTML & XHTML Basics
 
Week 3 html recap and css
Week 3   html recap and cssWeek 3   html recap and css
Week 3 html recap and css
 
Css present
Css presentCss present
Css present
 
Js placement
Js placementJs placement
Js placement
 
Xml for Translators
Xml for TranslatorsXml for Translators
Xml for Translators
 
Html cia
Html ciaHtml cia
Html cia
 
Html basics-auro skills
Html basics-auro skillsHtml basics-auro skills
Html basics-auro skills
 
Introduction to Html by Ankitkumar Singh
Introduction to Html by Ankitkumar SinghIntroduction to Html by Ankitkumar Singh
Introduction to Html by Ankitkumar Singh
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
BEAUTIFUL CSS PRESENTATION EASY TO MADE
BEAUTIFUL CSS PRESENTATION EASY TO MADEBEAUTIFUL CSS PRESENTATION EASY TO MADE
BEAUTIFUL CSS PRESENTATION EASY TO MADE
 
Html Styles-CSS
Html Styles-CSSHtml Styles-CSS
Html Styles-CSS
 
Introduction to WEB HTML, CSS
Introduction to WEB HTML, CSSIntroduction to WEB HTML, CSS
Introduction to WEB HTML, CSS
 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopHtml & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshop
 

Viewers also liked

Travels To India And China1
Travels To India And China1Travels To India And China1
Travels To India And China1
Whitney Vuong
 
2012_hofhues_geier_griesshammer_fostering_crossmedia_education
2012_hofhues_geier_griesshammer_fostering_crossmedia_education2012_hofhues_geier_griesshammer_fostering_crossmedia_education
2012_hofhues_geier_griesshammer_fostering_crossmedia_education
Joe Geier
 
Book Talking & Web 2.0
Book Talking & Web 2.0Book Talking & Web 2.0
Book Talking & Web 2.0
Mary Danko
 
Certificate_of_Accomplishment15019
Certificate_of_Accomplishment15019Certificate_of_Accomplishment15019
Certificate_of_Accomplishment15019
Benjamin Fuentes
 
Blockchain with HyperLedger (Public version)
Blockchain with HyperLedger (Public version)Blockchain with HyperLedger (Public version)
Blockchain with HyperLedger (Public version)
Benjamin Fuentes
 

Viewers also liked (20)

Beg, Borrow or Steal: The Art of Flashing Without Flashing
Beg, Borrow or Steal: The Art of Flashing Without FlashingBeg, Borrow or Steal: The Art of Flashing Without Flashing
Beg, Borrow or Steal: The Art of Flashing Without Flashing
 
Travels To India And China1
Travels To India And China1Travels To India And China1
Travels To India And China1
 
Buturuga Mica
Buturuga MicaButuruga Mica
Buturuga Mica
 
Foto evidencias
Foto evidenciasFoto evidencias
Foto evidencias
 
Virtuozzo
VirtuozzoVirtuozzo
Virtuozzo
 
2012_hofhues_geier_griesshammer_fostering_crossmedia_education
2012_hofhues_geier_griesshammer_fostering_crossmedia_education2012_hofhues_geier_griesshammer_fostering_crossmedia_education
2012_hofhues_geier_griesshammer_fostering_crossmedia_education
 
Principles, Backbone and Bottlenose
Principles, Backbone and BottlenosePrinciples, Backbone and Bottlenose
Principles, Backbone and Bottlenose
 
Vote Amsterdam For EuRuKo 2012
Vote Amsterdam For EuRuKo 2012Vote Amsterdam For EuRuKo 2012
Vote Amsterdam For EuRuKo 2012
 
Book Talking & Web 2.0
Book Talking & Web 2.0Book Talking & Web 2.0
Book Talking & Web 2.0
 
[译]Efficient, maintainable CSS
[译]Efficient, maintainable CSS[译]Efficient, maintainable CSS
[译]Efficient, maintainable CSS
 
Certificate_of_Accomplishment15019
Certificate_of_Accomplishment15019Certificate_of_Accomplishment15019
Certificate_of_Accomplishment15019
 
CSS Metaframeworks: King of all @media
CSS Metaframeworks: King of all @mediaCSS Metaframeworks: King of all @media
CSS Metaframeworks: King of all @media
 
Making the HTML5 Video element interactive
Making the HTML5 Video element interactiveMaking the HTML5 Video element interactive
Making the HTML5 Video element interactive
 
Blockchain
BlockchainBlockchain
Blockchain
 
Bitcoin explained
Bitcoin explainedBitcoin explained
Bitcoin explained
 
Blockchain with HyperLedger (Public version)
Blockchain with HyperLedger (Public version)Blockchain with HyperLedger (Public version)
Blockchain with HyperLedger (Public version)
 
CSS Systems
CSS SystemsCSS Systems
CSS Systems
 
CSS pattern libraries
CSS pattern librariesCSS pattern libraries
CSS pattern libraries
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
 
The Great State of Design with CSS Grid Layout and Friends
The Great State of Design with CSS Grid Layout and FriendsThe Great State of Design with CSS Grid Layout and Friends
The Great State of Design with CSS Grid Layout and Friends
 

Similar to HTML5 semantics

Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
Terry Ryan
 
Introduction to XML, XHTML and CSS
Introduction to XML, XHTML and CSSIntroduction to XML, XHTML and CSS
Introduction to XML, XHTML and CSS
Jussi Pohjolainen
 
FITC Spotlight HTML5 - The state of the web
FITC Spotlight HTML5 - The state of the webFITC Spotlight HTML5 - The state of the web
FITC Spotlight HTML5 - The state of the web
Frédéric Harper
 

Similar to HTML5 semantics (20)

XHTML
XHTMLXHTML
XHTML
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Html forfood
Html forfoodHtml forfood
Html forfood
 
Html 5
Html 5Html 5
Html 5
 
Semantic HTML5
Semantic HTML5Semantic HTML5
Semantic HTML5
 
Html5
Html5Html5
Html5
 
Intro to-html5
Intro to-html5Intro to-html5
Intro to-html5
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
 
Html&Browser
Html&BrowserHtml&Browser
Html&Browser
 
Introduction to XML, XHTML and CSS
Introduction to XML, XHTML and CSSIntroduction to XML, XHTML and CSS
Introduction to XML, XHTML and CSS
 
Web technologies: Lesson 2
Web technologies: Lesson 2Web technologies: Lesson 2
Web technologies: Lesson 2
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developers
 
Learning HTML
Learning HTMLLearning HTML
Learning HTML
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 
Xhtml Basics
Xhtml BasicsXhtml Basics
Xhtml Basics
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 
Xhtml Basics
Xhtml BasicsXhtml Basics
Xhtml Basics
 
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
 
FITC Spotlight HTML5 - The state of the web
FITC Spotlight HTML5 - The state of the webFITC Spotlight HTML5 - The state of the web
FITC Spotlight HTML5 - The state of the web
 
Html5 Brown Bag
Html5 Brown BagHtml5 Brown Bag
Html5 Brown Bag
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

HTML5 semantics