SlideShare a Scribd company logo
PracticalHTML  .Leon Poole@creativeworld5
Where is HTML5 at?HTML5 is in “last call” phase (Feb 2010),but was started by the Web Hypertext Application Technology Working Group (WHATWG) in 2004Estimated that HTML5 will reach the W3C Candidate recommendation stage during 2012Supported in Chrome, Firefox 3.5+, Opera, and Safari 4+, IE8(?) and IE9 already (JavaScript hack required to support earlier IE versions)HTML5 is at “HTML5”, not “HTML  5”
HTML5 has relatively good browser support, except for one...A little JavaScript will help IE recognise new HTML5 elements...<!--[if gte IE 6]>document.createElement('header');document.createElement('footer');document.createElement('section');document.createElement('aside');document.createElement('nav');document.createElement('article');document.createElement('time');document.createElement('mark');<![endif]-->
HTML5’s !DOCTYPE!DOCTYPE declares what type of document it is to the browser.. XHTML1.0:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">Long and ComplicatedSeriously, who remembers all of this?HTML5:<!DOCTYPE html>Very short, easy to rememberNo Document Type DefinitionSimple!
Basic Page StructureCommon HTML 4 StructureHTML5 StructureImages courtesy of A List Apart - An introduction to HTML 5 by Lachlan Hunt
Some Practical Examples of HTML5markup based on my experience in a blog environment.
HTML5: Nesting of Heading elements<article>	 <hgroup>		 <h1>Article title</h1>		<h2>Article subtitle</h2>	</hgroup>	<section>		<h3>Section title</h3>		<p>Content…</p>		<section>		         <h4>Subsection title</h4>		         <p>Content…</p>		</section>	</section></article><article>	 <hgroup>		 <h1>Article title</h1>		<h2>Article subtitle</h2>	</hgroup>	<section>		<h1>Section title</h1>		<p>Content…</p>		<section><h1>Subsection title</h1>		         <p>Content…</p>		</section>	</section></article>Vspreferred
HTML5: Blog Comments Markup<body><header><h1>My Website</h1></header><article>	<header><h1>My best blog post</h1></header>	<section><p>Story you can’t stop reading</p></section>	<footer><p>Meta data</p></footer>	<article id="comment-2">		<cite>Leon Poole</cite>		<time datetime="2010-03-15">March 18th, 2010</time>*		<p>Comment goes in here...</p>		<footer>		         <p>You can <a href=“#”>Reply</a> to this comment. </p>		</footer></article> <article id=“comment-3”>...etc</article><nav> <a href=“#”>Previous Post</a> <a href=“#”>Next Post</a></nav></article><footer></footer></body>* To my knowledge, Microformats tools don’t parse the time element right now
HTML5: Navigation Bar<body>	<header>		<div class=“logo”><imgsrc=“” alt=“”></div>		<hgroup>			<h1>My Awesome Website</h1>			<h2>With an dually awesome slogan</h2>		</hgroup>	</header>	<nav>	         <ul>		<li><a href=“/”>Home</a></li>		<li><a href=“/blog/”>Blog</a></li>	         </ul>	</nav>	<article>		<header>Practical HTML5</header>		<section>LoremIpsum...</section>		<footer>Copyright</footer>	</article>	<footer></footer></body>
HTML5: Sidebar for a blog<aside>	<nav>	         <h1>My Blogroll</h1>	         <ul>		<li><a href="http://example.com/">Example Blog</a>	         </ul>	</nav>	<nav>	         <h1>Archives</h1>	         <ol >		<li><a href="/march/">March</a>		<li><a href="/february/">February</a>	         </ol> 	</nav></aside><aside>	<h1>Twitter Feed</h1>	<blockquote cite="http://twitter.com/creativeworld">	         <p>Tweet tweet.</p>	</blockquote> </aside>
Final thoughts...Great in concept.Future of standards-based web development looks bright.Awesome for web and apps developers.Doesn’t change too much for web designers.Wondering how HTML5 will impact on SEO...??I love it... but I’m more excited about CSS3 ;)Thank you!
Resources & Links:HTML 5 Tag Referencehttp://www.w3schools.com/html5/html5_reference.asp

More Related Content

PPT
Html tutorial
PPT
XML Training Presentation
PPT
HTML Tutorial: Chapters 1 & 2
PPT
Working with External CSS
PPT
HTML Tutorial: Chapter 3
PPT
HTML Tutorial: Chapters 5 & 6
PPT
Cascading Style Sheets
PPT
Html tutorial
XML Training Presentation
HTML Tutorial: Chapters 1 & 2
Working with External CSS
HTML Tutorial: Chapter 3
HTML Tutorial: Chapters 5 & 6
Cascading Style Sheets

What's hot (16)

PPT
Hour 02
 
PPT
Grddl In A Nutshell V1
PDF
Formulating an Effective Search Query
PDF
IST 561 Session2--Feb 2, 2009 Basic XHTML Concepts
PPT
Lesson1 Intro to HTML
PPT
CrossRef Secondary Query: Practice and Problems (2011 CrossRef Workshops)
PPT
Building A Website
PPT
Local seo
PPS
Local seo
PPT
1.1 xhtml basics
PPT
Simple blogging
PPT
Embedded Metadata working group
PPTX
Html links
PDF
HTML Interview Questions | Basic Html Interview Questions
PDF
Top 15 You Should Do to Maintain and Measure Search Visibility Through a Rede...
Hour 02
 
Grddl In A Nutshell V1
Formulating an Effective Search Query
IST 561 Session2--Feb 2, 2009 Basic XHTML Concepts
Lesson1 Intro to HTML
CrossRef Secondary Query: Practice and Problems (2011 CrossRef Workshops)
Building A Website
Local seo
Local seo
1.1 xhtml basics
Simple blogging
Embedded Metadata working group
Html links
HTML Interview Questions | Basic Html Interview Questions
Top 15 You Should Do to Maintain and Measure Search Visibility Through a Rede...
Ad

Viewers also liked (6)

PPT
Doug hovelson1
PPT
Nazism in Europe during WWII
PDF
Pandemic Handbook Desktop 2009[1]
PPT
Etggs opensource
PDF
Students of Navgujarat College of Computer Applications, Ahmedabad felt excit...
PDF
Open Source Intelligence (Os Int) Link Directory December 2009
Doug hovelson1
Nazism in Europe during WWII
Pandemic Handbook Desktop 2009[1]
Etggs opensource
Students of Navgujarat College of Computer Applications, Ahmedabad felt excit...
Open Source Intelligence (Os Int) Link Directory December 2009
Ad

Similar to Pratical HTML5 (20)

KEY
HTML5 - techMaine Presentation 5/18/09
PPTX
PPT
PPTX
Html 5 a step towards semantic web
ODP
HTML5: 5 Quick Wins
PPTX
HTML5: The Next Internet Goldrush
PPT
Understanding html
PPT
HTML Fundamentals
PPT
Html5 Overview
PPT
Html basic
PPT
Html5 accessibility
PPTX
HTML5 - One spec to rule them all
PPT
Developing Gadgets
PPT
Html5: What is it?
PPT
Week7
 
PPT
PPT
How To Create Personal Web Pages On My Web
PPTX
HTML and CSS workshop
PPT
HTML5 - techMaine Presentation 5/18/09
Html 5 a step towards semantic web
HTML5: 5 Quick Wins
HTML5: The Next Internet Goldrush
Understanding html
HTML Fundamentals
Html5 Overview
Html basic
Html5 accessibility
HTML5 - One spec to rule them all
Developing Gadgets
Html5: What is it?
Week7
 
How To Create Personal Web Pages On My Web
HTML and CSS workshop

Recently uploaded (20)

PDF
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
PDF
The Advantages of Working With a Design-Build Studio
PPTX
rapid fire quiz in your house is your india.pptx
PPTX
Implications Existing phase plan and its feasibility.pptx
PDF
Facade & Landscape Lighting Techniques and Trends.pptx.pdf
PDF
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk
PPTX
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
PPTX
DOC-20250430-WA0014._20250714_235747_0000.pptx
PDF
Chalkpiece Annual Report from 2019 To 2025
PPTX
Causes of Flooding by Slidesgo sdnl;asnjdl;asj.pptx
PPT
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
PPTX
CLASS_11_BUSINESS_STUDIES_PPT_CHAPTER_1_Business_Trade_Commerce.pptx
PPTX
LITERATURE CASE STUDY DESIGN SEMESTER 5.pptx
PDF
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
PPTX
EDP Competencies-types, process, explanation
PDF
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
PPTX
Tenders & Contracts Works _ Services Afzal.pptx
PPTX
Media And Information Literacy for Grade 12
PPTX
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
PPTX
6- Architecture design complete (1).pptx
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
The Advantages of Working With a Design-Build Studio
rapid fire quiz in your house is your india.pptx
Implications Existing phase plan and its feasibility.pptx
Facade & Landscape Lighting Techniques and Trends.pptx.pdf
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
DOC-20250430-WA0014._20250714_235747_0000.pptx
Chalkpiece Annual Report from 2019 To 2025
Causes of Flooding by Slidesgo sdnl;asnjdl;asj.pptx
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
CLASS_11_BUSINESS_STUDIES_PPT_CHAPTER_1_Business_Trade_Commerce.pptx
LITERATURE CASE STUDY DESIGN SEMESTER 5.pptx
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
EDP Competencies-types, process, explanation
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
Tenders & Contracts Works _ Services Afzal.pptx
Media And Information Literacy for Grade 12
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
6- Architecture design complete (1).pptx

Pratical HTML5

  • 1. PracticalHTML .Leon Poole@creativeworld5
  • 2. Where is HTML5 at?HTML5 is in “last call” phase (Feb 2010),but was started by the Web Hypertext Application Technology Working Group (WHATWG) in 2004Estimated that HTML5 will reach the W3C Candidate recommendation stage during 2012Supported in Chrome, Firefox 3.5+, Opera, and Safari 4+, IE8(?) and IE9 already (JavaScript hack required to support earlier IE versions)HTML5 is at “HTML5”, not “HTML 5”
  • 3. HTML5 has relatively good browser support, except for one...A little JavaScript will help IE recognise new HTML5 elements...<!--[if gte IE 6]>document.createElement('header');document.createElement('footer');document.createElement('section');document.createElement('aside');document.createElement('nav');document.createElement('article');document.createElement('time');document.createElement('mark');<![endif]-->
  • 4. HTML5’s !DOCTYPE!DOCTYPE declares what type of document it is to the browser.. XHTML1.0:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">Long and ComplicatedSeriously, who remembers all of this?HTML5:<!DOCTYPE html>Very short, easy to rememberNo Document Type DefinitionSimple!
  • 5. Basic Page StructureCommon HTML 4 StructureHTML5 StructureImages courtesy of A List Apart - An introduction to HTML 5 by Lachlan Hunt
  • 6. Some Practical Examples of HTML5markup based on my experience in a blog environment.
  • 7. HTML5: Nesting of Heading elements<article> <hgroup> <h1>Article title</h1> <h2>Article subtitle</h2> </hgroup> <section> <h3>Section title</h3> <p>Content…</p> <section> <h4>Subsection title</h4> <p>Content…</p> </section> </section></article><article> <hgroup> <h1>Article title</h1> <h2>Article subtitle</h2> </hgroup> <section> <h1>Section title</h1> <p>Content…</p> <section><h1>Subsection title</h1> <p>Content…</p> </section> </section></article>Vspreferred
  • 8. HTML5: Blog Comments Markup<body><header><h1>My Website</h1></header><article> <header><h1>My best blog post</h1></header> <section><p>Story you can’t stop reading</p></section> <footer><p>Meta data</p></footer> <article id="comment-2"> <cite>Leon Poole</cite> <time datetime="2010-03-15">March 18th, 2010</time>* <p>Comment goes in here...</p> <footer> <p>You can <a href=“#”>Reply</a> to this comment. </p> </footer></article> <article id=“comment-3”>...etc</article><nav> <a href=“#”>Previous Post</a> <a href=“#”>Next Post</a></nav></article><footer></footer></body>* To my knowledge, Microformats tools don’t parse the time element right now
  • 9. HTML5: Navigation Bar<body> <header> <div class=“logo”><imgsrc=“” alt=“”></div> <hgroup> <h1>My Awesome Website</h1> <h2>With an dually awesome slogan</h2> </hgroup> </header> <nav> <ul> <li><a href=“/”>Home</a></li> <li><a href=“/blog/”>Blog</a></li> </ul> </nav> <article> <header>Practical HTML5</header> <section>LoremIpsum...</section> <footer>Copyright</footer> </article> <footer></footer></body>
  • 10. HTML5: Sidebar for a blog<aside> <nav> <h1>My Blogroll</h1> <ul> <li><a href="http://example.com/">Example Blog</a> </ul> </nav> <nav> <h1>Archives</h1> <ol > <li><a href="/march/">March</a> <li><a href="/february/">February</a> </ol> </nav></aside><aside> <h1>Twitter Feed</h1> <blockquote cite="http://twitter.com/creativeworld"> <p>Tweet tweet.</p> </blockquote> </aside>
  • 11. Final thoughts...Great in concept.Future of standards-based web development looks bright.Awesome for web and apps developers.Doesn’t change too much for web designers.Wondering how HTML5 will impact on SEO...??I love it... but I’m more excited about CSS3 ;)Thank you!
  • 12. Resources & Links:HTML 5 Tag Referencehttp://www.w3schools.com/html5/html5_reference.asp