SlideShare a Scribd company logo
Wilfred Nas
Front end developer

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

wnas.nl
@wnas
Html5 nl
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?
Html5 nl
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>
Html5 nl
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”>
Html5 nl
Html5 nl
Html5 nl
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

PDF
Making static sites dynamic (with WordPress yo!)
PDF
Fronted From Scratch - Supercharge Magento page speed
PPTX
WordPress Theming
PPT
WordPress theme frameworks
PPTX
Creating Customizable Widgets for Unpredictable Needs
PDF
10- Learn CSS Fundamentals / Pseudo-elements
PPTX
WordPress Theme & Plugin i18n & L10n
PDF
Writing PHP – The WordPress Way! by Rahul Bansal @WordCamp Mumbai 2017
Making static sites dynamic (with WordPress yo!)
Fronted From Scratch - Supercharge Magento page speed
WordPress Theming
WordPress theme frameworks
Creating Customizable Widgets for Unpredictable Needs
10- Learn CSS Fundamentals / Pseudo-elements
WordPress Theme & Plugin i18n & L10n
Writing PHP – The WordPress Way! by Rahul Bansal @WordCamp Mumbai 2017

What's hot (20)

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

Viewers also liked (7)

PPT
Javascript is evil - fronteers 2013 jam sessions
KEY
Html5 intro
KEY
Fronteers iprofs
ZIP
front end workshop v3
PDF
What has responsive web design done for us, so far.
KEY
Bestpractices nl
PDF
CSS naming | ceci n'est pas un pipe
Javascript is evil - fronteers 2013 jam sessions
Html5 intro
Fronteers iprofs
front end workshop v3
What has responsive web design done for us, so far.
Bestpractices nl
CSS naming | ceci n'est pas un pipe
Ad

Similar to Html5 nl (20)

ODP
Html5 101
PPT
Html 5
PPTX
Html5
KEY
HTML5: It goes to ELEVEN
PDF
Html5 101
ODP
HTML5 e CSS3 (slides della sessione tenuta al DIMI di Udine)
PPT
HTML5 & Front-end overview
KEY
KEY
An Introduction to HTML5
PPT
Html5, css3, canvas, svg and webgl
PDF
HTML5, just another presentation :)
PPT
Html5 drupal7 with mandakini kumari(1)
PDF
WEB DESIGN AND INTERNET PROGRAMMING LAB MANUAL.pdf
PPTX
HTML - 5 - Introduction
PDF
Html5 appunti.0
PPT
xhtml_css.ppt
PPTX
html(hyper text markup language)3.0.pptx
PPT
HTML5 CSS3 Basics
PDF
Html5 intro
PDF
Html5 101
Html 5
Html5
HTML5: It goes to ELEVEN
Html5 101
HTML5 e CSS3 (slides della sessione tenuta al DIMI di Udine)
HTML5 & Front-end overview
An Introduction to HTML5
Html5, css3, canvas, svg and webgl
HTML5, just another presentation :)
Html5 drupal7 with mandakini kumari(1)
WEB DESIGN AND INTERNET PROGRAMMING LAB MANUAL.pdf
HTML - 5 - Introduction
Html5 appunti.0
xhtml_css.ppt
html(hyper text markup language)3.0.pptx
HTML5 CSS3 Basics
Html5 intro

Recently uploaded (20)

PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Cloud computing and distributed systems.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPT
Teaching material agriculture food technology
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Encapsulation theory and applications.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
KodekX | Application Modernization Development
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Cloud computing and distributed systems.
MYSQL Presentation for SQL database connectivity
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Teaching material agriculture food technology
Advanced methodologies resolving dimensionality complications for autism neur...
Encapsulation_ Review paper, used for researhc scholars
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Building Integrated photovoltaic BIPV_UPV.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Encapsulation theory and applications.pdf
Understanding_Digital_Forensics_Presentation.pptx
KodekX | Application Modernization Development
Diabetes mellitus diagnosis method based random forest with bat algorithm
The AUB Centre for AI in Media Proposal.docx
Chapter 3 Spatial Domain Image Processing.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Html5 nl

Editor's Notes

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