SlideShare a Scribd company logo
1 of 57
Wilfred Nas
Front end developer

anwb, ing, agis, vst-pn, essent...

wnas.nl
@wnas
What is it all about?
HTML tags


1991
HTML 2.0


1995
HTML 3.2


januari 1997
HTML 4.0


december 1997
XHTML 1.0


januari 2000
Mime types anyone?
XHTML 1.1


march 2001
XHTML 2.0


....
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Strict//EN" "http://www.w3.org/TR/
xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en">
<head>

 <title></title>

 <meta http-equiv="Content-Type"
content="text/html;charset=UTF-8"/>
</head>
<body>

</body>
</html>
hetzelfde als HTML 4
Maar met meer:
bling
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Strict//EN" "http://www.w3.org/TR/
xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en">
<head>

 <title></title>

 <meta http-equiv="Content-Type"
content="text/html;charset=UTF-8"/>
</head>
<body>

</body>
</html>
<!DOCTYPE HTML>
<html lang="en">
<head>

 <meta charset="UTF-8">

 <title>HTML 5</title>
</head>
<body>

 <p>foo</p>
</body>
</html>
<!DOCTYPE HTML>
<html lang="en">
<head>

 <meta charset="UTF-8">

 <title>HTML 5</title>
</head>
<body>

 <p>foo</p>
</body>
</html>
Structuur
Layout elementen
Oud
div
span
p
(body)
<div id=header>

 <div id=nav>

 
 <ul>

 
 
 <li><a href=foo.html>foo</a></li>

 
 
 ...

 
 </ul>

 </div>

 <div class=headers>

 
 <h1>header</h1>

 
 <p>tagline</p>

 </div>
</div>
<header>

 <nav>

 
 <ul>

 
 
 <li><a href=foo.html>foo</a></li>

 
 
 ...

 
 </ul>

 </nav>

 <hgroup>

 
 <h1>header</h1>

 
 <h2>tagline</h2>

 </hgroup>
</header>
New
article      meter
aside        nav
audio        output
canvas       progress
details      section
figcaption   summary
figure       time
footer       video
header
hgroup
mark
En...
waarom zou ik?
Semantiek
Hoe duidelijker, hoe beter je te begrijpen bent.
<div>
Betekent niets.
<header>
beter
<header>

 <hgroup>

 
 <h1>header</h1>

 
 <h2>tagline</h2>

 </hgroup>
</header>
<section>

 <article>

 
 <hgroup>

 
 
 <h1>header</h1>

 
 
 <time>2011-06-08</time>

 
 </hgroup>

 
 <p>fooooo</p>

 
 <section>

 
 
 <h1>header</h1>

 
 
 <p>baaaaaar</p>

 
 
 <footer>copy</footer>

 
 </section>

 
 <aside>

 
 
 <time>22.00</time>

 
 </aside>

 </article>
</section>
<article>
“Like an article of clothing, not a newspaper article.” (@brucel)
Maar wat doen we met
oudere browsers? ( kuch IE )
<!--[if lt IE 9]>

 <script

 
 src="http://html5shim.googlecode.com/
svn/trunk/html5.js"></script>
<![endif]-->
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section
{ display:block; }
“wel of geen aanhalingstekens?”
class=foo

class=foo bar
class=”foo bar”
UPPERCASE vs lowercase
<INPUT type=”TEXT” Class=‘foo bar’ />
use “quotes” and lowercase.
Form elementen
Dingen die je al lang wilde...
<input>
<input

 type=text

 class=”searchfield
placeholder:searchfield?” >
<input

 type=search

 placeholder=”searchfield?”>
// build an input to test for html5 attr.
var i = document.createElement('input');
// see if placeholder is supported
if ( !('placeholder' in i) ) {

 //provide placeholder support
}
search
tel        time
url        datetime-
email      local
datetime   number
date       range
month      color
week
autocomplete      height and
novalidate        width
autofocus         list
form              min
form overrides    max

 formaction,     step

 formenctype,    multiple

 formmethod,     pattern

                 (regexp)
formnovalidate,   placeholder

 formtarget      required
<input

 type=email>
<input

 type=email

 required>

(alle browsers)
<input

 type=email

 required>

(indien niet ondersteund)
<input

 type=email

 required>

(alle browsers, met javascript)
<input

 type=”date”

 value=”2011-07-07”>
http://wnas.nl/html5-safe-usage-2
<video>
made easy...
<video

 width="320"

 height="240"

 controls>
  <source

 
 src="movie.mp4"

 
 type='video/mp4; codecs="avc1.42E01E, mp4a.
40.2"'>
  <source

 
 src="movie.webm"

 
 type='video/webm; codecs="vp8, vorbis"'>
  <source

 
 src="movie.ogv"

 
 type='video/ogg; codecs="theora, vorbis"'>
</video>
http://diveintohtml5.org/video.html

More Related Content

What's hot

LESS is More
LESS is MoreLESS is More
LESS is More
jsmith92
 
Creating WordPress Theme Faster, Smarter & Without Swearing
Creating WordPress Theme Faster, Smarter & Without SwearingCreating WordPress Theme Faster, Smarter & Without Swearing
Creating WordPress Theme Faster, Smarter & Without Swearing
martinwolak
 
Drawing the Line with Browser Compatibility
Drawing the Line with Browser CompatibilityDrawing the Line with Browser Compatibility
Drawing the Line with Browser Compatibility
jsmith92
 

What's hot (20)

14- Learn CSS Fundamentals / Inheritance
14- Learn CSS Fundamentals / Inheritance14- Learn CSS Fundamentals / Inheritance
14- Learn CSS Fundamentals / Inheritance
 
D7 theming what's new - London
D7 theming what's new - LondonD7 theming what's new - London
D7 theming what's new - London
 
i18n for Plugin and Theme Developers, WordCamp Milano 2016
i18n for Plugin and Theme Developers, WordCamp Milano 2016i18n for Plugin and Theme Developers, WordCamp Milano 2016
i18n for Plugin and Theme Developers, WordCamp Milano 2016
 
WordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
WordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクトWordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
WordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
 
Artdm171 Week4 Tags
Artdm171 Week4 TagsArtdm171 Week4 Tags
Artdm171 Week4 Tags
 
Theming websites effortlessly with Deliverance (CMSExpo 2010)
Theming websites effortlessly with Deliverance (CMSExpo 2010)Theming websites effortlessly with Deliverance (CMSExpo 2010)
Theming websites effortlessly with Deliverance (CMSExpo 2010)
 
Wordpress as a CMS
Wordpress as a CMSWordpress as a CMS
Wordpress as a CMS
 
Theming 101
Theming 101Theming 101
Theming 101
 
LESS is More
LESS is MoreLESS is More
LESS is More
 
Intro to Plugin Development, Miami WordCamp, 2015
Intro to Plugin Development, Miami WordCamp, 2015Intro to Plugin Development, Miami WordCamp, 2015
Intro to Plugin Development, Miami WordCamp, 2015
 
วิธีสร้าง Intro page ให้ blogger
วิธีสร้าง Intro page ให้ bloggerวิธีสร้าง Intro page ให้ blogger
วิธีสร้าง Intro page ให้ blogger
 
Intro to HTML and CSS
Intro to HTML and CSSIntro to HTML and CSS
Intro to HTML and CSS
 
Creating WordPress Theme Faster, Smarter & Without Swearing
Creating WordPress Theme Faster, Smarter & Without SwearingCreating WordPress Theme Faster, Smarter & Without Swearing
Creating WordPress Theme Faster, Smarter & Without Swearing
 
Introduction to WordPress Child Theming, WordCamp Kansas City, 2015
Introduction to WordPress Child Theming, WordCamp Kansas City, 2015Introduction to WordPress Child Theming, WordCamp Kansas City, 2015
Introduction to WordPress Child Theming, WordCamp Kansas City, 2015
 
Drawing the Line with Browser Compatibility
Drawing the Line with Browser CompatibilityDrawing the Line with Browser Compatibility
Drawing the Line with Browser Compatibility
 
Approaches To WordPress Theme Development
Approaches To WordPress Theme DevelopmentApproaches To WordPress Theme Development
Approaches To WordPress Theme Development
 
Scraping the web with Laravel, Dusk, Docker, and PHP
Scraping the web with Laravel, Dusk, Docker, and PHPScraping the web with Laravel, Dusk, Docker, and PHP
Scraping the web with Laravel, Dusk, Docker, and PHP
 
WordCamp Detroit 2010 Wordpress Theme Hacks
WordCamp Detroit 2010 Wordpress Theme HacksWordCamp Detroit 2010 Wordpress Theme Hacks
WordCamp Detroit 2010 Wordpress Theme Hacks
 
Making friends with the inspector how non developers can harmlessly dig into...
Making friends with the inspector  how non developers can harmlessly dig into...Making friends with the inspector  how non developers can harmlessly dig into...
Making friends with the inspector how non developers can harmlessly dig into...
 
Mastering WordPress Vol.1
Mastering WordPress Vol.1Mastering WordPress Vol.1
Mastering WordPress Vol.1
 

Viewers also liked (7)

Javascript is evil - fronteers 2013 jam sessions
Javascript is evil - fronteers 2013 jam sessionsJavascript is evil - fronteers 2013 jam sessions
Javascript is evil - fronteers 2013 jam sessions
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 
Fronteers iprofs
Fronteers iprofsFronteers iprofs
Fronteers iprofs
 
front end workshop v3
front end workshop v3front end workshop v3
front end workshop v3
 
What has responsive web design done for us, so far.
What has responsive web design done for us, so far.What has responsive web design done for us, so far.
What has responsive web design done for us, so far.
 
Bestpractices nl
Bestpractices nlBestpractices nl
Bestpractices nl
 
CSS naming | ceci n'est pas un pipe
CSS naming | ceci n'est pas un pipeCSS naming | ceci n'est pas un pipe
CSS naming | ceci n'est pas un pipe
 

Similar to Html5 nl

SW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+DrupalSW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+Drupal
Jen Simmons
 
Base HTML & CSS
Base HTML & CSSBase HTML & CSS
Base HTML & CSS
Nick Chan
 
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
 
Your Presentation Name Here
Your Presentation Name HereYour Presentation Name Here
Your Presentation Name Here
FreedSoftwares
 

Similar to Html5 nl (20)

An Introduction to HTML5
An Introduction to HTML5An Introduction to HTML5
An Introduction to HTML5
 
HTML 5 - Overview
HTML 5 - OverviewHTML 5 - Overview
HTML 5 - Overview
 
Introduccion a HTML5
Introduccion a HTML5Introduccion a HTML5
Introduccion a HTML5
 
html5
html5html5
html5
 
What you need to know bout html5
What you need to know bout html5What you need to know bout html5
What you need to know bout html5
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 
SW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+DrupalSW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+Drupal
 
Html5
Html5Html5
Html5
 
[In Control 2010] HTML5
[In Control 2010] HTML5[In Control 2010] HTML5
[In Control 2010] HTML5
 
Base HTML & CSS
Base HTML & CSSBase HTML & CSS
Base HTML & CSS
 
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
 
Developing Your Ultimate Package
Developing Your Ultimate PackageDeveloping Your Ultimate Package
Developing Your Ultimate Package
 
Training HTML5 CSS3 Ilkom IPB
Training HTML5 CSS3 Ilkom IPBTraining HTML5 CSS3 Ilkom IPB
Training HTML5 CSS3 Ilkom IPB
 
#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]
 
0017text[1].Txt.Xhtml
0017text[1].Txt.Xhtml0017text[1].Txt.Xhtml
0017text[1].Txt.Xhtml
 
Your Presentation Name Here
Your Presentation Name HereYour Presentation Name Here
Your Presentation Name Here
 
Apex & jQuery Mobile
Apex & jQuery MobileApex & jQuery Mobile
Apex & jQuery Mobile
 
Html5 and web technology update
Html5 and web technology updateHtml5 and web technology update
Html5 and web technology update
 
HTML5 New and Improved
HTML5   New and ImprovedHTML5   New and Improved
HTML5 New and Improved
 
Html5 ux london
Html5 ux londonHtml5 ux london
Html5 ux london
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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
 
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
 
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
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Html5 nl

Editor's Notes

  1. goedemiddag mensen, ik ben Wilfred Nas ik doe front end ontwikkeling. dit doe ik al zo&amp;#x2019;n 15 jaar. eerst als ontwerper en later enkel code...\n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. and the working group was shut down.\n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. het html element is overbodig, als ook het head als de body. Dit was al in html4...\n
  20. \n
  21. jaja, ook de body tag kun je gebruiken om je document te stylen...\n
  22. een hele mooie opbouw van een navigatie element en een header in een html4 document. Toch best wel mooi, niet?\n
  23. hier is hetzelfde document, alleen met html5 elementen in plaats van betekenisloze div&amp;#x2019;s...\n
  24. We hebben redelijk wat leuke nieuwe elementen...\n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. de beste vinding van IE. conditional comments. Dit stukje moet dus in de head en niet onderin de body...\n
  33. css, voor (zover ik weet) oudere browsers... de laatste safari, chrome, opera en firefox doen dit al...\n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. De meest makkelijke manier om een input element te definieren.\n
  41. om een zoek veld aan te geven met een &amp;#x2018;placeholder&amp;#x2019;.\n
  42. \n
  43. \n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. \n
  50. \n
  51. opera\n
  52. firefox\n
  53. webkit\n
  54. \n
  55. \n
  56. \n
  57. \n