SlideShare uma empresa Scribd logo
1 de 117
Wilfred Nas
Front end developer

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

wnas.nl
@wnas
HTML5
Praktisch vandaag.
What is it all about?
Eerst een korte geschiedenisles...
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.0 == html-4.0
maar dan met een xml-syntax
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
“seo”
<header>

 <hgroup>

 
 <h1>header</h1>

 
 <h2>tagline</h2>

 </hgroup>
</header>
<section>

 <article>

 
 <hgroup>

 
 
 <h1>header</h1>

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

 
 </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)
<article>
Iets wat op zich zelf staat.
<article>
ook makkelijk voor cms makers.
<article>
ook makkelijk voor cms makers.
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?”
Pragmatisch



Gebruik wat mensen al doen.
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”>
<input

 type=”text”

 class=”search placeholder:uw_zoekterm” >
<input

 type=”search”

 placeholder=”uw zoekopdracht”>
// 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=”email”>
<input
 type=”url”>
<input

 type=”date”

 value=”2011-06-07”>
<input

 pattern=”[1-9][0-9]{3}s?[a-zA-Z]{2}”

 required>

(http://html5pattern.com/)
<input type=email required>
(stolen slides following)
<input

 type=email

 title=”So you tried to skip me?”

 required>
<input

 type="text"

 pattern="d{2}-d{5}"

 x-moz-errormessage="PLEASE, just do it
right!">
elm.setCustomValidity("No, that's wrong!");
input::-webkit-validation-bubble-message {
    color: #f00;
    background: #000;
    border: 10px solid #f00;
    -webkit-box-shadow: 0 0 0 0;
}
input::-webkit-validation-bubble-arrow {
    background: #ff3456;
    border-color: orange;
    -webkit-box-shadow: 0 0 0 0;
}
(End of stolen slides. Thanks to @robertnyman)
http://wnas.nl/html5-safe-usage-2
<video>
made easy...
<object

 width="357"

 height="294">

 
 <param name="movie"

 
 
 value="http://www.youtube.com/p/69D055611E14B822?
hl=nl_NL&amp;fs=1">

 
 <param name="allowFullScreen" value="true"><param
name="allowscriptaccess" value="always">

 
 <embed src="http://www.youtube.com/p/69D055611E14B822?
hl=nl_NL&amp;fs=1" type="application/x-shockwave-flash"
width="357" height="294" allowscriptaccess="always"
allowfullscreen="true">
</object>
Ipad, Iphone
look ma, no flash!
<video

 width="320"

 height="240"

 controls>
  <source

 
 src="movie.mp4"

 
 type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
</video>
<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.info/video.html
Meer
Cookies
Local storage
session storage
<html manifest=”cache.manifest”>
CACHE MANIFEST

style.css
script.js
logo.png
@Fontface
Typografie op het web.
@font-face {
    font-family: 'stoppoliceRegular';
    src: url('fonts/stop_police-webfont.eot');
    src: url('fonts/stop_police-webfont.eot?#iefix')
format('embedded-opentype'),
         url('fonts/stop_police-webfont.woff') format('woff'),
         url('fonts/stop_police-webfont.ttf')
format('truetype'),
         url('fonts/stop_police-webfont.svg#stoppoliceRegular')
format('svg');
    font-weight: normal;
    font-style: normal;

}
Media queries
CSS3
Media queries
CSS3
Geolocation
http://isgeolocationpartofhtml5.com/
Maar wel leuk.
navigator.geolocation.getCurrentPosition();
Canvas
geen plaatjes
Nadelen.
<div
  class="demo"
  id="canvaspie"
  width="600"
  height="200"></div>
svg
<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 480" height="480" width="640">
    <!-- 
  -->
    <!-- Created with SVG::Graph
  -->
    <!-- Sean Russell
  -->
    <!-- Based on SVG::TT::Graph for Perl by Leo Lapworth & Stephan Morgan
  -->
    <!-- //////////////////////////////////////////////////////////////////
  -->
  <defs>
    <filter id="dropshadow" height="1.2" width="1.2">
       <feGaussianBlur result="blur" stdDeviation="4"/>
    </filter>
  </defs>
    <!--SVG Background
  -->
  <rect x="0" class="svgBackground" y="0" height="480" style="fill:#ffffff;" width="640"/>
  <text x="320" class="mainTitle" y="16" style="text-anchor: middle; fill: #000000; font-size: 16px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Question 7
</text>
  <g transform="translate(543.0 46)">
    <rect x="0" class="key1" y="0" height="12" style="fill: #ff0000; fill-opacity: 0.7; stroke: none; stroke-width: 1px;" width="12"/>
    <text x="17" class="keyText" y="12" style="fill: #000000; text-anchor:start; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Internet [3]</text>
    <rect x="0" class="key2" y="17" height="12" style="fill: #0000ff; fill-opacity: 0.7; stroke: none; stroke-width: 1px;" width="12"/>
    <text x="17" class="keyText" y="29" style="fill: #000000; text-anchor:start; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">TV [3]</text>
    <rect x="0" class="key3" y="34" height="12" style="fill-opacity: 0.7; fill: #00ff00; stroke: none; stroke-width: 1px;" width="12"/>
    <text x="17" class="keyText" y="46" style="fill: #000000; text-anchor:start; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Newspaper [0]</text>
    <rect x="0" class="key4" y="51" height="12" style="fill-opacity: 0.7; fill: #ffcc00; stroke: none; stroke-width: 1px;" width="12"/>
    <text x="17" class="keyText" y="63" style="fill: #000000; text-anchor:start; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Magazine [6]</text>
    <rect x="0" class="key5" y="68" height="12" style="fill-opacity: 0.7; fill: #00ccff; stroke: none; stroke-width: 1px;" width="12"/>
    <text x="17" class="keyText" y="80" style="fill: #000000; text-anchor:start; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Radio
 [1]</text>
  </g>
  <g transform="translate( 112 48 )">
    <g>
       <path transform="translate( 10 10 )" d="M207.5,207.5 L207.5,0.0 A207.5,207.5 0, 0,1, 413.487091375346 182.48863884702 Z" filter="url(#dropshadow)" style="fill: #ccc; stroke: none;"/>
       <path transform="translate( 10 10 )" d="M207.5,207.5 L413.487091375346,182.48863884702 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" filter="url(#dropshadow)" style="fill: #ccc; stroke: none;"/>
       <path transform="translate( 10 10 )" d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" filter="url(#dropshadow)" style="fill: #ccc; stroke: none;"/>
       <path transform="translate( 0.649837573145852 13.5460488704254 )" d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 111.069941800918 23.7678746769589 Z" filter="url(#dropshadow)" style="fill:
#ccc; stroke: none;"/>
       <path transform="translate( 10 10 )" d="M207.5,207.5 L111.069941800918,23.7678746769589 A207.5,207.5 0, 0,1, 207.5 0.0 Z" filter="url(#dropshadow)" style="fill: #ccc; stroke: none;"/>
    </g>
    <g>
       <path d="M207.5,207.5 L207.5,0.0 A207.5,207.5 0, 0,1, 413.487091375346 182.48863884702 Z" style="fill: #fff; stroke: none;"/>
       <path d="M207.5,207.5 L413.487091375346,182.48863884702 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" style="fill: #fff; stroke: none;"/>
       <path d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" style="fill: #fff; stroke: none;"/>
       <path transform="translate( -9.35016242685415 3.54604887042536 )" d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 111.069941800918 23.7678746769589 Z" style="fill: #fff; stroke: none;"/>
       <path d="M207.5,207.5 L111.069941800918,23.7678746769589 A207.5,207.5 0, 0,1, 207.5 0.0 Z" style="fill: #fff; stroke: none;"/>
    </g>
    <g>
       <path class="fill1" d="M207.5,207.5 L207.5,0.0 A207.5,207.5 0, 0,1, 413.487091375346 182.48863884702 Z" style="fill: #ff0000; fill-opacity: 0.7; stroke: none; stroke-width: 1px;"/>
       <text x="345.097951584965" class="dataPointLabel" y="52.1840197544965" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000;
text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;stroke: #fff; stroke-width: 2;">Internet 23%</text>
       <text x="345.097951584965" class="dataPointLabel" y="52.1840197544965" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000;
text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Internet 23%</text>
       <path class="fill2" d="M207.5,207.5 L413.487091375346,182.48863884702 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" style="fill: #0000ff; fill-opacity: 0.7; stroke: none; stroke-width: 1px;"/>
       <text x="378.269152172934" class="dataPointLabel" y="325.373434946715" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000;
text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;stroke: #fff; stroke-width: 2;">TV 23%</text>
       <text x="378.269152172934" class="dataPointLabel" y="325.373434946715" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000;
text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">TV 23%</text>
       <path class="fill3" d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" style="fill-opacity: 0.7; fill: #00ff00; stroke: none; stroke-width: 1px;"/>
       <path transform="translate( -9.35016242685415 3.54604887042536 )" class="fill4" d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 111.069941800918 23.7678746769589 Z" style="fill-opacity: 0.7;
fill: #ffcc00; stroke: none; stroke-width: 1px;"/>
       <text x="4.1339672159223" class="dataPointLabel" y="284.626562931752" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000; text-
anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;stroke: #fff; stroke-width: 2;">Magazine 46%</text>
       <text x="4.1339672159223" class="dataPointLabel" y="284.626562931752" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000; text-
anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Magazine 46%</text>
       <path class="fill5" d="M207.5,207.5 L111.069941800918,23.7678746769589 A207.5,207.5 0, 0,1, 207.5 0.0 Z" style="fill-opacity: 0.7; fill: #00ccff; stroke: none; stroke-width: 1px;"/>
       <text x="157.841999660332" class="dataPointLabel" y="6.02957288409419" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000;
text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;stroke: #fff; stroke-width: 2;">Radio
 8%</text>
       <text x="157.841999660332" class="dataPointLabel" y="6.02957288409419" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000;
text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Radio
 8%</text>
    </g>
  </g>
</svg>
<rect x="0" class="key2" y="17" height="12"
style="fill: #0000ff; fill-opacity: 0.7;
stroke: none; stroke-width: 1px;"
width="12"/>
    <text x="17" class="keyText" y="29"
style="fill: #000000; text-anchor:start;
font-size: 10px; font-family:
&quot;Arial&quot;, sans-serif; font-weight:
normal;">TV [3]</text>
    <rect x="0" class="key3" y="34"
height="12" style="fill-opacity: 0.7; fill:
#00ff00; stroke: none; stroke-width: 1px;"
width="12"/>
    <text x="17" class="keyText" y="46"
http://www.drawastickman.com/
http://html5demos.com/
microformats
Vragen

Mais conteúdo relacionado

Mais procurados

Private slideshow
Private slideshowPrivate slideshow
Private slideshowsblackman
 
Você precisa aprender Web
Você precisa aprender WebVocê precisa aprender Web
Você precisa aprender WebJean Carlo Emer
 
Try Web Components
Try Web ComponentsTry Web Components
Try Web Components拓樹 谷
 
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridasFrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridasLoiane Groner
 
Web UI performance tuning
Web UI performance tuningWeb UI performance tuning
Web UI performance tuningAndy Pemberton
 
Smashing the stats for fun (and profit)
Smashing the stats for fun (and profit)Smashing the stats for fun (and profit)
Smashing the stats for fun (and profit)Security B-Sides
 
6주 javaScript 시작하며
6주  javaScript 시작하며6주  javaScript 시작하며
6주 javaScript 시작하며지수 윤
 
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJRealize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJLeonardo Balter
 
High Performance Webdesign
High Performance WebdesignHigh Performance Webdesign
High Performance Webdesign拓樹 谷
 
How to Think Inside the Box: Programming Fixed Layout for E-Books
How to Think Inside the Box: Programming Fixed Layout for E-BooksHow to Think Inside the Box: Programming Fixed Layout for E-Books
How to Think Inside the Box: Programming Fixed Layout for E-Booksbisg
 
Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Todd Zaki Warfel
 
Presentation html5 css3 by thibaut
Presentation html5 css3 by thibautPresentation html5 css3 by thibaut
Presentation html5 css3 by thibautThibaut Baillet
 
HTML5: friend or foe (to Flash)?
HTML5: friend or foe (to Flash)?HTML5: friend or foe (to Flash)?
HTML5: friend or foe (to Flash)?Remy Sharp
 

Mais procurados (20)

Private slideshow
Private slideshowPrivate slideshow
Private slideshow
 
Você precisa aprender Web
Você precisa aprender WebVocê precisa aprender Web
Você precisa aprender Web
 
Try Web Components
Try Web ComponentsTry Web Components
Try Web Components
 
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridasFrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
 
jQuery UI and Plugins
jQuery UI and PluginsjQuery UI and Plugins
jQuery UI and Plugins
 
High-Quality JavaScript
High-Quality JavaScriptHigh-Quality JavaScript
High-Quality JavaScript
 
Web UI performance tuning
Web UI performance tuningWeb UI performance tuning
Web UI performance tuning
 
фабрика Blockly
фабрика Blocklyфабрика Blockly
фабрика Blockly
 
Smashing the stats for fun (and profit)
Smashing the stats for fun (and profit)Smashing the stats for fun (and profit)
Smashing the stats for fun (and profit)
 
6주 javaScript 시작하며
6주  javaScript 시작하며6주  javaScript 시작하며
6주 javaScript 시작하며
 
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJRealize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
 
High Performance Webdesign
High Performance WebdesignHigh Performance Webdesign
High Performance Webdesign
 
CSS3 ...in 3D!
CSS3 ...in 3D!CSS3 ...in 3D!
CSS3 ...in 3D!
 
The Thinking behind BEM
The Thinking behind BEMThe Thinking behind BEM
The Thinking behind BEM
 
How to Think Inside the Box: Programming Fixed Layout for E-Books
How to Think Inside the Box: Programming Fixed Layout for E-BooksHow to Think Inside the Box: Programming Fixed Layout for E-Books
How to Think Inside the Box: Programming Fixed Layout for E-Books
 
Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3
 
ZeroNights 2018 | I <"3 XSS
ZeroNights 2018 | I <"3 XSSZeroNights 2018 | I <"3 XSS
ZeroNights 2018 | I <"3 XSS
 
Presentation html5 css3 by thibaut
Presentation html5 css3 by thibautPresentation html5 css3 by thibaut
Presentation html5 css3 by thibaut
 
WordPress and Ajax
WordPress and AjaxWordPress and Ajax
WordPress and Ajax
 
HTML5: friend or foe (to Flash)?
HTML5: friend or foe (to Flash)?HTML5: friend or foe (to Flash)?
HTML5: friend or foe (to Flash)?
 

Destaque

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.Wilfred Nas
 
front end workshop v3
front end workshop v3front end workshop v3
front end workshop v3Wilfred Nas
 
Fronteers iprofs
Fronteers iprofsFronteers iprofs
Fronteers iprofsWilfred Nas
 
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 sessionsWilfred Nas
 
Bestpractices nl
Bestpractices nlBestpractices nl
Bestpractices nlWilfred Nas
 
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 pipeWilfred Nas
 

Destaque (7)

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.
 
Html5 nl
Html5 nlHtml5 nl
Html5 nl
 
front end workshop v3
front end workshop v3front end workshop v3
front end workshop v3
 
Fronteers iprofs
Fronteers iprofsFronteers iprofs
Fronteers iprofs
 
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
 
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
 

Semelhante a Html5 intro

网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识ppanyong
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识ppanyong
 
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile EventHTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile EventRobert Nyman
 
Implementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 WorkshopImplementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 WorkshopShoshi Roberts
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucksTim Wright
 
Blog skins396734
Blog skins396734Blog skins396734
Blog skins396734pantangmrny
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web developmentAlberto Apellidos
 
CSS3 Takes on the World
CSS3 Takes on the WorldCSS3 Takes on the World
CSS3 Takes on the WorldJonathan Snook
 
Merkez, Bağcılar antika kol saati 0531 9810190 eski kurmalı
Merkez, Bağcılar antika kol saati 0531 9810190 eski kurmalı Merkez, Bağcılar antika kol saati 0531 9810190 eski kurmalı
Merkez, Bağcılar antika kol saati 0531 9810190 eski kurmalı adin sonsuz
 
Kocasinan antika kol saati 0531 9810190 eski kurmalı saat
Kocasinan antika kol saati 0531 9810190 eski kurmalı saat Kocasinan antika kol saati 0531 9810190 eski kurmalı saat
Kocasinan antika kol saati 0531 9810190 eski kurmalı saat adin sonsuz
 
Güneşli antika kol saati 0531 9810190 eski kurmalı saat alanlar
Güneşli antika kol saati 0531 9810190 eski kurmalı saat alanlarGüneşli antika kol saati 0531 9810190 eski kurmalı saat alanlar
Güneşli antika kol saati 0531 9810190 eski kurmalı saat alanlaradin sonsuz
 
Yenisahra antika kol saati 0531 9810190 eski kurmalı saat
Yenisahra antika kol saati 0531 9810190 eski kurmalı saat Yenisahra antika kol saati 0531 9810190 eski kurmalı saat
Yenisahra antika kol saati 0531 9810190 eski kurmalı saat adin sonsuz
 

Semelhante a Html5 intro (20)

HTML5
HTML5HTML5
HTML5
 
Introduccion a HTML5
Introduccion a HTML5Introduccion a HTML5
Introduccion a HTML5
 
html5
html5html5
html5
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识
 
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile EventHTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
 
Implementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 WorkshopImplementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 Workshop
 
The Devil and HTML5
The Devil and HTML5The Devil and HTML5
The Devil and HTML5
 
shoubox script
shoubox scriptshoubox script
shoubox script
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
HTML5 for Mobile
HTML5 for MobileHTML5 for Mobile
HTML5 for Mobile
 
HTML5, the new buzzword
HTML5, the new buzzwordHTML5, the new buzzword
HTML5, the new buzzword
 
Blog skins396734
Blog skins396734Blog skins396734
Blog skins396734
 
HTML 5 - Overview
HTML 5 - OverviewHTML 5 - Overview
HTML 5 - Overview
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 
CSS3 Takes on the World
CSS3 Takes on the WorldCSS3 Takes on the World
CSS3 Takes on the World
 
Merkez, Bağcılar antika kol saati 0531 9810190 eski kurmalı
Merkez, Bağcılar antika kol saati 0531 9810190 eski kurmalı Merkez, Bağcılar antika kol saati 0531 9810190 eski kurmalı
Merkez, Bağcılar antika kol saati 0531 9810190 eski kurmalı
 
Kocasinan antika kol saati 0531 9810190 eski kurmalı saat
Kocasinan antika kol saati 0531 9810190 eski kurmalı saat Kocasinan antika kol saati 0531 9810190 eski kurmalı saat
Kocasinan antika kol saati 0531 9810190 eski kurmalı saat
 
Güneşli antika kol saati 0531 9810190 eski kurmalı saat alanlar
Güneşli antika kol saati 0531 9810190 eski kurmalı saat alanlarGüneşli antika kol saati 0531 9810190 eski kurmalı saat alanlar
Güneşli antika kol saati 0531 9810190 eski kurmalı saat alanlar
 
Yenisahra antika kol saati 0531 9810190 eski kurmalı saat
Yenisahra antika kol saati 0531 9810190 eski kurmalı saat Yenisahra antika kol saati 0531 9810190 eski kurmalı saat
Yenisahra antika kol saati 0531 9810190 eski kurmalı saat
 

Último

February 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterFebruary 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterssuserdfec6a
 
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptxSIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptxStephenMino
 
2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing YogaRaphaël Semeteys
 
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...mitaliverma221
 
WOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptxWOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptxpadhand000
 
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsDadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsDeepika Singh
 
the Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationthe Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationbrynpueblos04
 
Pokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy TheoryPokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy Theorydrae5
 
March 2023 Recommendations for newsletter
March 2023 Recommendations for newsletterMarch 2023 Recommendations for newsletter
March 2023 Recommendations for newsletterssuserdfec6a
 
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...Cara Menggugurkan Kandungan 087776558899
 

Último (10)

February 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterFebruary 2024 Recommendations for newsletter
February 2024 Recommendations for newsletter
 
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptxSIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
 
2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga
 
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
 
WOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptxWOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptx
 
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsDadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
the Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationthe Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentation
 
Pokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy TheoryPokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy Theory
 
March 2023 Recommendations for newsletter
March 2023 Recommendations for newsletterMarch 2023 Recommendations for newsletter
March 2023 Recommendations for newsletter
 
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
 

Html5 intro

  • 1. Wilfred Nas Front end developer anwb, ing, agis, vst-pn, essent, Min. VWS.. wnas.nl @wnas
  • 3.
  • 4. What is it all about?
  • 5.
  • 6. Eerst een korte geschiedenisles...
  • 14. maar dan met een xml-syntax
  • 17. <!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>
  • 18.
  • 21. <!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>
  • 22. <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="UTF-8"> <title>HTML 5</title> </head> <body> <p>foo</p> </body> </html>
  • 23. <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="UTF-8"> <title>HTML 5</title> </head> <body> <p>foo</p> </body> </html>
  • 26. <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>
  • 27. <header> <nav> <ul> <li><a href=foo.html>foo</a></li> ... </ul> </nav> <hgroup> <h1>header</h1> <h2>tagline</h2> </hgroup> </header>
  • 28. New article meter aside nav audio output canvas progress details section figcaption summary figure time footer video header hgroup mark
  • 30. Semantiek Hoe duidelijker, hoe beter je te begrijpen bent.
  • 34. <header> <hgroup> <h1>header</h1> <h2>tagline</h2> </hgroup> </header> <section> <article> <hgroup> <h1>header</h1> <h2><time>2011-06-08</time></h2> </hgroup> <p>fooooo</p> <section> <h1>header</h1> <p>baaaaaar</p> <footer>copy</footer> </section> <aside> <time>22.00</time> </aside> </article> </section>
  • 35. <article> “Like an article of clothing, not a newspaper article.” (@brucel)
  • 36. <article> Iets wat op zich zelf staat.
  • 39. Maar wat doen we met oudere browsers? ( kuch IE )
  • 40. <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/ svn/trunk/html5.js"></script> <![endif]-->
  • 42. “wel of geen aanhalingstekens?”
  • 47. use “quotes” and lowercase.
  • 48. Form elementen Dingen die je al lang wilde...
  • 51. <input type=”text” class=”search placeholder:uw_zoekterm” >
  • 52.
  • 54.
  • 55. // 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 }
  • 56. search tel time url datetime- email local datetime number date range month color week
  • 57. autocomplete height and novalidate width autofocus list form min form overrides max formaction, step formenctype, multiple formmethod, pattern (regexp) formnovalidate, placeholder formtarget required
  • 61. <input type=”email” required> (alle browsers, met javascript)
  • 65.
  • 66.
  • 67.
  • 70.
  • 71. <input type=email title=”So you tried to skip me?” required>
  • 72.
  • 73. <input type="text" pattern="d{2}-d{5}" x-moz-errormessage="PLEASE, just do it right!">
  • 74.
  • 76.
  • 77. input::-webkit-validation-bubble-message { color: #f00; background: #000; border: 10px solid #f00; -webkit-box-shadow: 0 0 0 0; } input::-webkit-validation-bubble-arrow { background: #ff3456; border-color: orange; -webkit-box-shadow: 0 0 0 0; }
  • 78.
  • 79. (End of stolen slides. Thanks to @robertnyman)
  • 82.
  • 83. <object width="357" height="294"> <param name="movie" value="http://www.youtube.com/p/69D055611E14B822? hl=nl_NL&amp;fs=1"> <param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"> <embed src="http://www.youtube.com/p/69D055611E14B822? hl=nl_NL&amp;fs=1" type="application/x-shockwave-flash" width="357" height="294" allowscriptaccess="always" allowfullscreen="true"> </object>
  • 85. look ma, no flash!
  • 86. <video width="320" height="240" controls> <source src="movie.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> </video>
  • 87. <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>
  • 89. Meer
  • 95. @font-face { font-family: 'stoppoliceRegular'; src: url('fonts/stop_police-webfont.eot'); src: url('fonts/stop_police-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/stop_police-webfont.woff') format('woff'), url('fonts/stop_police-webfont.ttf') format('truetype'), url('fonts/stop_police-webfont.svg#stoppoliceRegular') format('svg'); font-weight: normal; font-style: normal; }
  • 100.
  • 103. Canvas
  • 106. <div class="demo" id="canvaspie" width="600" height="200"></div>
  • 107.
  • 108. svg
  • 109.
  • 110. <svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 480" height="480" width="640"> <!-- --> <!-- Created with SVG::Graph --> <!-- Sean Russell --> <!-- Based on SVG::TT::Graph for Perl by Leo Lapworth & Stephan Morgan --> <!-- ////////////////////////////////////////////////////////////////// --> <defs> <filter id="dropshadow" height="1.2" width="1.2"> <feGaussianBlur result="blur" stdDeviation="4"/> </filter> </defs> <!--SVG Background --> <rect x="0" class="svgBackground" y="0" height="480" style="fill:#ffffff;" width="640"/> <text x="320" class="mainTitle" y="16" style="text-anchor: middle; fill: #000000; font-size: 16px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Question 7 </text> <g transform="translate(543.0 46)"> <rect x="0" class="key1" y="0" height="12" style="fill: #ff0000; fill-opacity: 0.7; stroke: none; stroke-width: 1px;" width="12"/> <text x="17" class="keyText" y="12" style="fill: #000000; text-anchor:start; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Internet [3]</text> <rect x="0" class="key2" y="17" height="12" style="fill: #0000ff; fill-opacity: 0.7; stroke: none; stroke-width: 1px;" width="12"/> <text x="17" class="keyText" y="29" style="fill: #000000; text-anchor:start; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">TV [3]</text> <rect x="0" class="key3" y="34" height="12" style="fill-opacity: 0.7; fill: #00ff00; stroke: none; stroke-width: 1px;" width="12"/> <text x="17" class="keyText" y="46" style="fill: #000000; text-anchor:start; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Newspaper [0]</text> <rect x="0" class="key4" y="51" height="12" style="fill-opacity: 0.7; fill: #ffcc00; stroke: none; stroke-width: 1px;" width="12"/> <text x="17" class="keyText" y="63" style="fill: #000000; text-anchor:start; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Magazine [6]</text> <rect x="0" class="key5" y="68" height="12" style="fill-opacity: 0.7; fill: #00ccff; stroke: none; stroke-width: 1px;" width="12"/> <text x="17" class="keyText" y="80" style="fill: #000000; text-anchor:start; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Radio [1]</text> </g> <g transform="translate( 112 48 )"> <g> <path transform="translate( 10 10 )" d="M207.5,207.5 L207.5,0.0 A207.5,207.5 0, 0,1, 413.487091375346 182.48863884702 Z" filter="url(#dropshadow)" style="fill: #ccc; stroke: none;"/> <path transform="translate( 10 10 )" d="M207.5,207.5 L413.487091375346,182.48863884702 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" filter="url(#dropshadow)" style="fill: #ccc; stroke: none;"/> <path transform="translate( 10 10 )" d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" filter="url(#dropshadow)" style="fill: #ccc; stroke: none;"/> <path transform="translate( 0.649837573145852 13.5460488704254 )" d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 111.069941800918 23.7678746769589 Z" filter="url(#dropshadow)" style="fill: #ccc; stroke: none;"/> <path transform="translate( 10 10 )" d="M207.5,207.5 L111.069941800918,23.7678746769589 A207.5,207.5 0, 0,1, 207.5 0.0 Z" filter="url(#dropshadow)" style="fill: #ccc; stroke: none;"/> </g> <g> <path d="M207.5,207.5 L207.5,0.0 A207.5,207.5 0, 0,1, 413.487091375346 182.48863884702 Z" style="fill: #fff; stroke: none;"/> <path d="M207.5,207.5 L413.487091375346,182.48863884702 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" style="fill: #fff; stroke: none;"/> <path d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" style="fill: #fff; stroke: none;"/> <path transform="translate( -9.35016242685415 3.54604887042536 )" d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 111.069941800918 23.7678746769589 Z" style="fill: #fff; stroke: none;"/> <path d="M207.5,207.5 L111.069941800918,23.7678746769589 A207.5,207.5 0, 0,1, 207.5 0.0 Z" style="fill: #fff; stroke: none;"/> </g> <g> <path class="fill1" d="M207.5,207.5 L207.5,0.0 A207.5,207.5 0, 0,1, 413.487091375346 182.48863884702 Z" style="fill: #ff0000; fill-opacity: 0.7; stroke: none; stroke-width: 1px;"/> <text x="345.097951584965" class="dataPointLabel" y="52.1840197544965" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000; text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;stroke: #fff; stroke-width: 2;">Internet 23%</text> <text x="345.097951584965" class="dataPointLabel" y="52.1840197544965" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000; text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Internet 23%</text> <path class="fill2" d="M207.5,207.5 L413.487091375346,182.48863884702 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" style="fill: #0000ff; fill-opacity: 0.7; stroke: none; stroke-width: 1px;"/> <text x="378.269152172934" class="dataPointLabel" y="325.373434946715" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000; text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;stroke: #fff; stroke-width: 2;">TV 23%</text> <text x="378.269152172934" class="dataPointLabel" y="325.373434946715" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000; text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">TV 23%</text> <path class="fill3" d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 257.158000339668 408.970427115906 Z" style="fill-opacity: 0.7; fill: #00ff00; stroke: none; stroke-width: 1px;"/> <path transform="translate( -9.35016242685415 3.54604887042536 )" class="fill4" d="M207.5,207.5 L257.158000339668,408.970427115906 A207.5,207.5 0, 0,1, 111.069941800918 23.7678746769589 Z" style="fill-opacity: 0.7; fill: #ffcc00; stroke: none; stroke-width: 1px;"/> <text x="4.1339672159223" class="dataPointLabel" y="284.626562931752" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000; text- anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;stroke: #fff; stroke-width: 2;">Magazine 46%</text> <text x="4.1339672159223" class="dataPointLabel" y="284.626562931752" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000; text- anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Magazine 46%</text> <path class="fill5" d="M207.5,207.5 L111.069941800918,23.7678746769589 A207.5,207.5 0, 0,1, 207.5 0.0 Z" style="fill-opacity: 0.7; fill: #00ccff; stroke: none; stroke-width: 1px;"/> <text x="157.841999660332" class="dataPointLabel" y="6.02957288409419" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000; text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;stroke: #fff; stroke-width: 2;">Radio 8%</text> <text x="157.841999660332" class="dataPointLabel" y="6.02957288409419" style="fill: #000000; text-anchor:middle; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;; fill: #000000; text-anchor:middle; font-size: 12px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">Radio 8%</text> </g> </g> </svg>
  • 111. <rect x="0" class="key2" y="17" height="12" style="fill: #0000ff; fill-opacity: 0.7; stroke: none; stroke-width: 1px;" width="12"/> <text x="17" class="keyText" y="29" style="fill: #000000; text-anchor:start; font-size: 10px; font-family: &quot;Arial&quot;, sans-serif; font-weight: normal;">TV [3]</text> <rect x="0" class="key3" y="34" height="12" style="fill-opacity: 0.7; fill: #00ff00; stroke: none; stroke-width: 1px;" width="12"/> <text x="17" class="keyText" y="46"
  • 114.
  • 115.
  • 117. Vragen

Notas do Editor

  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. sorry\n
  6. \n
  7. \n
  8. \n
  9. \n
  10. and the working group was shut down.\n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. is het al af? maakt niet uit, css\n
  21. in plaats van:\n
  22. kunnen we dit doen.\n
  23. het html element is overbodig, als ook het head als de body. Dit was al in html4...\n
  24. \n
  25. jaja, ook de body tag kun je gebruiken om je document te stylen...\n
  26. een hele mooie opbouw van een navigatie element en een header in een html4 document. Toch best wel mooi, niet?\n
  27. hier is hetzelfde document, alleen met html5 elementen in plaats van betekenisloze div&amp;#x2019;s...\n
  28. We hebben redelijk wat leuke nieuwe elementen...\n
  29. \n
  30. \n
  31. \n
  32. \n
  33. google houd van html5 en goede, semantisch correcte html. Maakt het makkelijker om zaken te indexeren.\n
  34. \n
  35. \n
  36. En wat je op een andere plaats kunt hergebruiken.\n
  37. \n
  38. \n
  39. \n
  40. de beste vinding van IE. conditional comments. Dit stukje moet dus in de head en niet onderin de body...\n
  41. css, voor (zover ik weet) oudere browsers... de laatste safari, chrome, opera en firefox doen dit al...\n
  42. \n
  43. \n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. De meest makkelijke manier om een input element te definieren.\n
  50. dit wordt, in alle browsers.\n
  51. om een zoek veld aan te geven met een &amp;#x2018;placeholder&amp;#x2019;.\n
  52. \n
  53. \n
  54. \n
  55. \n
  56. \n
  57. \n
  58. \n
  59. \n
  60. \n
  61. \n
  62. \n
  63. \n
  64. \n
  65. opera\n
  66. firefox\n
  67. webkit\n
  68. postcode\n
  69. \n
  70. \n
  71. \n
  72. \n
  73. \n
  74. \n
  75. \n
  76. \n
  77. \n
  78. \n
  79. \n
  80. \n
  81. \n
  82. \n
  83. \n
  84. \n
  85. \n
  86. \n
  87. waarom zou je dit willen?\n
  88. \n
  89. \n
  90. \n
  91. meer ruimte, werkt niet op ie6, maar wel met javascript...\n
  92. \n
  93. \n
  94. \n
  95. geen javascript, of flash nodig. werkt in ie6...\n
  96. \n
  97. \n
  98. \n
  99. \n
  100. \n
  101. discussie graag.\n
  102. \n
  103. \n
  104. goed voor dynamische data. zeg de verkiezings uitslag...\n
  105. \n
  106. ook geen data...\n
  107. \n
  108. \n
  109. \n
  110. veel data...\n
  111. niet voor mensen, wel voor zoek machines...\n
  112. \n
  113. \n
  114. \n
  115. \n
  116. \n
  117. \n