SlideShare a Scribd company logo
1 of 62
Download to read offline
It	
 is	
 not	
 HTML5.	
 but	
 ...
    HTML5
        HTML5
    36 	
 HTML5      	
 -	
 2013/02/18


             	
    	
  @sada_h
sadah.github.com 	
 /	
  @sada_h 	
 /	
  techlog
html5j 	
      	
 /	
 HTML5                    	
 
                            ,	
 Born	
 in	
 1981.
Ruby	
 /	
 Rails	
 /	
 HTML5	
 /	
 JavaScript	
 /	
 Java
Kakaku.com,	
 Inc.	
 Engineer	
 2012/08
                                  	
 [                     ]
                                      	
 [cena(                )]
are	
 not	
 HTML5.
HTML5
HTML5
HTML5	
 
2012/12/17	
 
W3C
HTML5
HTML5	
 Markup
HTML5


        Apple
        LAWSON
        UNITED	
 ARROWS	
 LTD.
        BEAMS
        Specs	
 :	
  HTML5 	
 /	
  HTML	
 5.1
HTML5	
 Markup
    html5shiv	
                          createElement	
 
<!--[if lt IE 9]>
 <script src="dist/html5shiv.js"></script>
<![endif]-->

elements = "abbr article aside audio bdi canvas data datalist details figcaption figu
re footer header hgroup mark meter nav output progress section summary time vi
deo".split(" ");
for(var i=0; i<elements.length; i++){
  document.createElement(elements[i]);
}

                 Sample:	
 HTML5	
 fall	
 back	
 Sample
microdata	
 /	
 RDFa
           	
 microdata	
  	
 RDFa
Barack	
 Obama
Home	
 -	
 schema.org
             	
 -	
 Google	
 
Google	
 Structured	
 Data	
 Testing	
 Tool
microdata	
 /	
 RDFa
                            Specs
HTML+RDFa	
 1.1
  Last	
 Call:	
 HTML+RDFa	
 1.1	
 -	
 W3C	
 News	
 -	
 07
  February	
 2013
HTML	
 Microdata
HTML	
 Microdata	
 Nightly
microdata
<div itemscope itemtype="http://data-vocabulary.org/Person">
 私の名前は<span itemprop="name">ひらい さだあき</span>ですが、
 みんなから「<span itemprop="nickname">さだ</span>」と呼ばれています。
 私のホームページは、
 <a href="http://sadah.github.com" itemprop="url">sadah.github.com</a> です
。
 鎌倉に住んでおり、<span itemprop="title">エンジニア</span>として
 <span itemprop="affiliation">カカクコム</span>に勤めています。
</div>

                         Sample:	
 microdata
microdata	
 /	
 RDFa

Home	
 -	
 schema.org
microdata	
             	
 -	
 Google
      	
             	
 -	
      	
 -	
 Google
      	
             	
 -	
               	
 -	
 Google
Google	
 Structured	
 Data	
 Testing	
 Tool
MediaQueries

World	
 Wide	
 Web	
 Consortium	
 (W3C)
                         Microsoft	
 Japan
NTT
MediaQueries
@media screen and (max-width: 479px) {
  .media-test { color: red; }
}
@media screen and (min-width: 480px) and (max-width: 1023px) {
  .media-test { color: blue; }
}
@media screen and (min-width: 1024px) {
  .media-test { color: green;}
}

                      Sample:	
 MediaQueries
                      sadah.github.com
MediaQueries

CSS
MediaQueries

     Web


PC
MediaQueries



MediaQueries
MediaQueries
bookmarklet	
 
Media	
 Queries
Viewport	
 Resizer
Responsive	
 Design	
 Testing
Spec	
 :	
  Media	
 Queries	
 W3C	
 REC
Check

BrowserStack
  modern.IE
Adobe®	
 BrowserLab
WebFonts

DevTools
BEAMS
NTT
FONTPLUS
WebFonts

sadah.github.com
Google	
 Web	
 Fonts	
 Compare
WebFonts
/* using Google Web Fonts */
@font-face {
  font-family: 'Allerta Stencil';
  src: url(http://themes.googleusercontent.com/static/fonts/allertastencil/v4/Cd
SZfRtHbQrBohqmzSdDYKqcRvMv63bhrwdN_8Hu8N8.woff) format('woff');
}

.webfonts{
  font-family: 'Allerta Stencil', sans-serif;
}

                   Sample:	
 WebFonts
                                                Web	
 Fonts   	
    IT
WebFonts
        	
 Extension	
 
Chrome	
 -	
 WhatFont
Chrome	
 -	
 Google	
 Font	
 Previewer	
 for	
 Chrome
Canvas
Canvas	
  GoogleMaps
          Thanks	
 komasshu	
 !


                      	
 /	
 Google	
 Maps
                               	
 -	
 WSJ
   Spec	
 :	
  HTML	
 Canvas	
 2D	
 Context
Canvas
var ctx = $("#canvas-area")[0].getContext("2d");
// x, y, radius, startAngle, endAngle [, anticlockwise ] )
ctx.arc(200, 100, 50, 0, Math.PI*2, false);
ctx.stroke();

Sample:	
 Canvas
Sample:	
 getUserMedia	
 +	
 Canvas	
 +	
 Video	
 +	
 data	
 URL
Scheme	
 +	
 FullScreen	
 API
Canvas	
 +	
 WebFonts
  ctx.fillStyle = "navy";
  ctx.font = "72px 'Cabin Sketch', cursive";
  ctx.fillText("WebFonts", 200 , 50);

 Sample:	
 Canvas	
 +	
 WebFonts
Canvas WebFonts                                	
 WebFonts


 1
WebFonts
              WebFont	
 Loader	
 
WebFontConfig = { google: { families: [ 'Tangerine', 'Cantarell' ] } };
(function() {
 var wf = document.createElement('script');
 wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
    '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
 wf.type = 'text/javascript';
 wf.async = 'true';
 var s = document.getElementsByTagName('script')[0];
 s.parentNode.insertBefore(wf, s);
})();

             WebFont	
 Loader	
 -	
 Google	
 Web	
 Fonts
CSS	
 Fonts	
 Module	
 Level	
 3
W3C	
 Working	
 Draft	
 12	
 February	
 2013
 9.2	
 The	
 FontLoader	
 Interface
W3C	
 Working	
 Draft	
 11	
 December	
 2012
     9.2	
 The	
 FontLoader	
 Interface
CSS	
 Fonts	
 Module	
 Level	
 3,	
 CSS	
 Transitions	
 Drafts	
 Published	
 -	
 W3C	
 News
9.2	
 The	
 FontLoader	
 Interface
dictionary LoadFontParameters {
 DOMString font;
 DOMString text = " ";
 FontsReadyCallback onsuccess;
 FontsReadyCallback onerror;
};

// check and start load if appropriate
// and fire callback when all loads complete
void loadFont(LoadFontParameters params);
Performance
Navigation	
 Timing
   Navigation	
 Timing	
 (W3c	
 REC)
   Navigation	
 Timing	
 2
link	
 prefetch	
    	
 script	
 defer	
 async	
 
   4.12	
 Links	
 —	
 HTML5
   4.3	
 Scripting	
 —	
 HTML5
data	
 URL	
 Scheme	
 
   RFC	
 2397	
 -	
 The	
 "data"	
 URL	
 scheme
Performance
HTTP1.1                                     …
    minify	
 /	
 gzip

    CDN
                	
 Request	
 
                                	
    	
    IT
Performance
Pingdom	
 Tools	
 :	
 tabelog.com
WebPagetest	
 Test	
 Result	
 -	
 Tokyo	
 :	
 tabelog.com
Request	
    …
Performance
HTML5                     HTTP	
 2.0	
      	
 SPDY	
 
  Hypertext	
 Transfer	
 Protocol	
 version	
 2.0	
 /	
 IETF
  SPDY	
 -	
 The	
 Chromium	
 Projects
  SPDY	
 Protocol	
 /	
 IETF
“
                       HTTP
                                 TLS
                              SPDY



SPDY	
 -	
 Wikipedia

”
Multiplexed	
 streams
            Request	
 prioritization
    HTTP	
 header	
 compression
SPDY:	
 An	
 experimental	
 protocol	
 for	
 a	
 faster	
 web	
 -	
 The	
 Chromium	
 Projects
html5	
 -	
 Google
SSL



SPDY	
 Performance	
 on	
 Mobile	
 Networks
SPDY HTTP	
 
CDN	
  	
 SPDY	
  	
 HTTP	
 2.0
HTML5(   )
2013
Web
HTML5.1
navigationController
     template
      Offline
HTML5	
 Markup
microdata	
 /	
 RDFa
WebFonts,	
 Canvas
SPDY	
 /	
 HTTP	
 2.0
HTML5                MediaQueries


        	
 cena
“	
 




       :	
    	
 
                    	
 ”
HTML5
Happy
	
 Happy
Happy
     	
 Happy	
 

HTML5	
 
HTML5
The	
 End
  It	
 is	
 not	
 HTML5.	
 but	
 ...
    Thank	
 you	
 so	
 mach.
http://bit.ly/h5study36sadah
            @sada_h

More Related Content

What's hot

HTML5 and Search Engine Optimization (SEO)
HTML5 and Search Engine Optimization (SEO)HTML5 and Search Engine Optimization (SEO)
HTML5 and Search Engine Optimization (SEO)Performics.Convonix
 
Google’s PRPL Web development pattern
Google’s PRPL Web development patternGoogle’s PRPL Web development pattern
Google’s PRPL Web development patternJeongkyu Shin
 
Ie9 dev overview (300) beta
Ie9 dev overview (300) betaIe9 dev overview (300) beta
Ie9 dev overview (300) betaKirk Yamamoto
 
New Elements & Features in HTML5
New Elements & Features in HTML5New Elements & Features in HTML5
New Elements & Features in HTML5Jamshid Hashimi
 
Startup eng-camp 3
Startup eng-camp 3Startup eng-camp 3
Startup eng-camp 3Jollen Chen
 
HTML5 Introduction
HTML5 IntroductionHTML5 Introduction
HTML5 Introductiondynamis
 
Keypoints html5
Keypoints html5Keypoints html5
Keypoints html5dynamis
 
HTML5: An Introduction To Next Generation Web Development
HTML5: An Introduction To Next Generation Web DevelopmentHTML5: An Introduction To Next Generation Web Development
HTML5: An Introduction To Next Generation Web DevelopmentTilak Joshi
 
HTML5 for PHP Developers - IPC
HTML5 for PHP Developers - IPCHTML5 for PHP Developers - IPC
HTML5 for PHP Developers - IPCMayflower GmbH
 
WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)Shumpei Shiraishi
 
Using Web Standards to create Interactive Data Visualizations for the Web
Using Web Standards to create Interactive Data Visualizations for the WebUsing Web Standards to create Interactive Data Visualizations for the Web
Using Web Standards to create Interactive Data Visualizations for the Webphilogb
 
Making HTML5 Work Everywhere
Making HTML5 Work EverywhereMaking HTML5 Work Everywhere
Making HTML5 Work EverywhereTodd Anglin
 
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)Jollen Chen
 
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]Aaron Gustafson
 
Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overviewJacob Nelson
 

What's hot (20)

HTML5
HTML5HTML5
HTML5
 
HTML5 and Search Engine Optimization (SEO)
HTML5 and Search Engine Optimization (SEO)HTML5 and Search Engine Optimization (SEO)
HTML5 and Search Engine Optimization (SEO)
 
Google’s PRPL Web development pattern
Google’s PRPL Web development patternGoogle’s PRPL Web development pattern
Google’s PRPL Web development pattern
 
Ie9 dev overview (300) beta
Ie9 dev overview (300) betaIe9 dev overview (300) beta
Ie9 dev overview (300) beta
 
New Elements & Features in HTML5
New Elements & Features in HTML5New Elements & Features in HTML5
New Elements & Features in HTML5
 
Startup eng-camp 3
Startup eng-camp 3Startup eng-camp 3
Startup eng-camp 3
 
HTML5 Introduction
HTML5 IntroductionHTML5 Introduction
HTML5 Introduction
 
Echo HTML5
Echo HTML5Echo HTML5
Echo HTML5
 
Keypoints html5
Keypoints html5Keypoints html5
Keypoints html5
 
HTML5: An Introduction To Next Generation Web Development
HTML5: An Introduction To Next Generation Web DevelopmentHTML5: An Introduction To Next Generation Web Development
HTML5: An Introduction To Next Generation Web Development
 
HTML5 for PHP Developers - IPC
HTML5 for PHP Developers - IPCHTML5 for PHP Developers - IPC
HTML5 for PHP Developers - IPC
 
WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)
 
Using Web Standards to create Interactive Data Visualizations for the Web
Using Web Standards to create Interactive Data Visualizations for the WebUsing Web Standards to create Interactive Data Visualizations for the Web
Using Web Standards to create Interactive Data Visualizations for the Web
 
HTML5 Video
HTML5 VideoHTML5 Video
HTML5 Video
 
Making HTML5 Work Everywhere
Making HTML5 Work EverywhereMaking HTML5 Work Everywhere
Making HTML5 Work Everywhere
 
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)
課程名稱:八屏一雲時代來臨 教你HTML5六小時打通(3)
 
HTML5 Tutorial
HTML5 TutorialHTML5 Tutorial
HTML5 Tutorial
 
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]
 
Introduccion a HTML5
Introduccion a HTML5Introduccion a HTML5
Introduccion a HTML5
 
Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overview
 

Similar to Concise overview of HTML5 features and specifications

Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Sadaaki HIRAI
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebGeorge Kanellopoulos
 
HTML5: An Overview
HTML5: An OverviewHTML5: An Overview
HTML5: An OverviewNagendra Um
 
HTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersHTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersSascha Corti
 
soft-shake.ch - Introduction to HTML5
soft-shake.ch - Introduction to HTML5soft-shake.ch - Introduction to HTML5
soft-shake.ch - Introduction to HTML5soft-shake.ch
 
[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 Refresher[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 RefresherIvano Malavolta
 
Intro to mobile web application development
Intro to mobile web application developmentIntro to mobile web application development
Intro to mobile web application developmentzonathen
 
[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
Ed presents JSF 2.2 and WebSocket to Gameduell.
Ed presents JSF 2.2 and WebSocket to Gameduell.Ed presents JSF 2.2 and WebSocket to Gameduell.
Ed presents JSF 2.2 and WebSocket to Gameduell.Edward Burns
 
Change by HTML5
Change by HTML5Change by HTML5
Change by HTML5dynamis
 

Similar to Concise overview of HTML5 features and specifications (20)

Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
 
Word camp nextweb
Word camp nextwebWord camp nextweb
Word camp nextweb
 
Word camp nextweb
Word camp nextwebWord camp nextweb
Word camp nextweb
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWeb
 
HTML5: An Overview
HTML5: An OverviewHTML5: An Overview
HTML5: An Overview
 
HTML 5 - Overview
HTML 5 - OverviewHTML 5 - Overview
HTML 5 - Overview
 
HTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersHTML5 Intoduction for Web Developers
HTML5 Intoduction for Web Developers
 
HTML5
HTML5HTML5
HTML5
 
soft-shake.ch - Introduction to HTML5
soft-shake.ch - Introduction to HTML5soft-shake.ch - Introduction to HTML5
soft-shake.ch - Introduction to HTML5
 
html5
html5html5
html5
 
What is HTML5
What is HTML5What is HTML5
What is HTML5
 
[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 Refresher[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 Refresher
 
Intro to mobile web application development
Intro to mobile web application developmentIntro to mobile web application development
Intro to mobile web application development
 
Edge of the Web
Edge of the WebEdge of the Web
Edge of the Web
 
[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design
 
URL Design
URL DesignURL Design
URL Design
 
HTML5 - A Whirlwind tour
HTML5 - A Whirlwind tourHTML5 - A Whirlwind tour
HTML5 - A Whirlwind tour
 
Ed presents JSF 2.2 and WebSocket to Gameduell.
Ed presents JSF 2.2 and WebSocket to Gameduell.Ed presents JSF 2.2 and WebSocket to Gameduell.
Ed presents JSF 2.2 and WebSocket to Gameduell.
 
HTML5 and Joomla! 2.5 Template
HTML5 and Joomla! 2.5 TemplateHTML5 and Joomla! 2.5 Template
HTML5 and Joomla! 2.5 Template
 
Change by HTML5
Change by HTML5Change by HTML5
Change by HTML5
 

More from Sadaaki HIRAI

Prottを支えるチームと技術
Prottを支えるチームと技術Prottを支えるチームと技術
Prottを支えるチームと技術Sadaaki HIRAI
 
Goodpatch Berlin Report
Goodpatch Berlin ReportGoodpatch Berlin Report
Goodpatch Berlin ReportSadaaki HIRAI
 
Make the Prott Faster
Make the Prott FasterMake the Prott Faster
Make the Prott FasterSadaaki HIRAI
 
チームでつくるUIデザイン
チームでつくるUIデザインチームでつくるUIデザイン
チームでつくるUIデザインSadaaki HIRAI
 
いま使われているHTML5と、これからのHTML5
いま使われているHTML5と、これからのHTML5いま使われているHTML5と、これからのHTML5
いま使われているHTML5と、これからのHTML5Sadaaki HIRAI
 
Java & HTML5 History
Java & HTML5 HistoryJava & HTML5 History
Java & HTML5 HistorySadaaki HIRAI
 
はじめてのEmmet with Sublime Text2
はじめてのEmmet with Sublime Text2はじめてのEmmet with Sublime Text2
はじめてのEmmet with Sublime Text2Sadaaki HIRAI
 

More from Sadaaki HIRAI (7)

Prottを支えるチームと技術
Prottを支えるチームと技術Prottを支えるチームと技術
Prottを支えるチームと技術
 
Goodpatch Berlin Report
Goodpatch Berlin ReportGoodpatch Berlin Report
Goodpatch Berlin Report
 
Make the Prott Faster
Make the Prott FasterMake the Prott Faster
Make the Prott Faster
 
チームでつくるUIデザイン
チームでつくるUIデザインチームでつくるUIデザイン
チームでつくるUIデザイン
 
いま使われているHTML5と、これからのHTML5
いま使われているHTML5と、これからのHTML5いま使われているHTML5と、これからのHTML5
いま使われているHTML5と、これからのHTML5
 
Java & HTML5 History
Java & HTML5 HistoryJava & HTML5 History
Java & HTML5 History
 
はじめてのEmmet with Sublime Text2
はじめてのEmmet with Sublime Text2はじめてのEmmet with Sublime Text2
はじめてのEmmet with Sublime Text2
 

Concise overview of HTML5 features and specifications

  • 1. It is not HTML5. but ... HTML5 HTML5 36 HTML5 - 2013/02/18 @sada_h
  • 2. sadah.github.com / @sada_h / techlog html5j / HTML5 , Born in 1981. Ruby / Rails / HTML5 / JavaScript / Java Kakaku.com, Inc. Engineer 2012/08 [ ] [cena( )]
  • 3.
  • 4.
  • 7.
  • 8.
  • 11.
  • 12. HTML5
  • 13.
  • 14. HTML5 Markup HTML5 Apple LAWSON UNITED ARROWS LTD. BEAMS Specs : HTML5 / HTML 5.1
  • 15. HTML5 Markup html5shiv createElement <!--[if lt IE 9]> <script src="dist/html5shiv.js"></script> <![endif]--> elements = "abbr article aside audio bdi canvas data datalist details figcaption figu re footer header hgroup mark meter nav output progress section summary time vi deo".split(" "); for(var i=0; i<elements.length; i++){ document.createElement(elements[i]); } Sample: HTML5 fall back Sample
  • 16. microdata / RDFa microdata RDFa Barack Obama Home - schema.org - Google Google Structured Data Testing Tool
  • 17. microdata / RDFa Specs HTML+RDFa 1.1 Last Call: HTML+RDFa 1.1 - W3C News - 07 February 2013 HTML Microdata HTML Microdata Nightly
  • 18. microdata <div itemscope itemtype="http://data-vocabulary.org/Person"> 私の名前は<span itemprop="name">ひらい さだあき</span>ですが、 みんなから「<span itemprop="nickname">さだ</span>」と呼ばれています。 私のホームページは、 <a href="http://sadah.github.com" itemprop="url">sadah.github.com</a> です 。 鎌倉に住んでおり、<span itemprop="title">エンジニア</span>として <span itemprop="affiliation">カカクコム</span>に勤めています。 </div> Sample: microdata
  • 19. microdata / RDFa Home - schema.org microdata - Google - - Google - - Google Google Structured Data Testing Tool
  • 20. MediaQueries World Wide Web Consortium (W3C) Microsoft Japan NTT
  • 21. MediaQueries @media screen and (max-width: 479px) { .media-test { color: red; } } @media screen and (min-width: 480px) and (max-width: 1023px) { .media-test { color: blue; } } @media screen and (min-width: 1024px) { .media-test { color: green;} } Sample: MediaQueries sadah.github.com
  • 23. MediaQueries Web PC
  • 25. MediaQueries bookmarklet Media Queries Viewport Resizer Responsive Design Testing Spec : Media Queries W3C REC
  • 29. WebFonts /* using Google Web Fonts */ @font-face { font-family: 'Allerta Stencil'; src: url(http://themes.googleusercontent.com/static/fonts/allertastencil/v4/Cd SZfRtHbQrBohqmzSdDYKqcRvMv63bhrwdN_8Hu8N8.woff) format('woff'); } .webfonts{ font-family: 'Allerta Stencil', sans-serif; } Sample: WebFonts Web Fonts IT
  • 30. WebFonts Extension Chrome - WhatFont Chrome - Google Font Previewer for Chrome
  • 31. Canvas Canvas GoogleMaps Thanks komasshu ! / Google Maps - WSJ Spec : HTML Canvas 2D Context
  • 32. Canvas var ctx = $("#canvas-area")[0].getContext("2d"); // x, y, radius, startAngle, endAngle [, anticlockwise ] ) ctx.arc(200, 100, 50, 0, Math.PI*2, false); ctx.stroke(); Sample: Canvas Sample: getUserMedia + Canvas + Video + data URL Scheme + FullScreen API
  • 33. Canvas + WebFonts ctx.fillStyle = "navy"; ctx.font = "72px 'Cabin Sketch', cursive"; ctx.fillText("WebFonts", 200 , 50); Sample: Canvas + WebFonts Canvas WebFonts WebFonts 1
  • 34. WebFonts WebFont Loader WebFontConfig = { google: { families: [ 'Tangerine', 'Cantarell' ] } }; (function() { var wf = document.createElement('script'); wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wf, s); })(); WebFont Loader - Google Web Fonts
  • 35. CSS Fonts Module Level 3 W3C Working Draft 12 February 2013 9.2 The FontLoader Interface W3C Working Draft 11 December 2012 9.2 The FontLoader Interface CSS Fonts Module Level 3, CSS Transitions Drafts Published - W3C News
  • 36. 9.2 The FontLoader Interface dictionary LoadFontParameters { DOMString font; DOMString text = " "; FontsReadyCallback onsuccess; FontsReadyCallback onerror; }; // check and start load if appropriate // and fire callback when all loads complete void loadFont(LoadFontParameters params);
  • 37. Performance Navigation Timing Navigation Timing (W3c REC) Navigation Timing 2 link prefetch script defer async 4.12 Links — HTML5 4.3 Scripting — HTML5 data URL Scheme RFC 2397 - The "data" URL scheme
  • 38. Performance HTTP1.1 … minify / gzip CDN Request IT
  • 39. Performance Pingdom Tools : tabelog.com WebPagetest Test Result - Tokyo : tabelog.com
  • 40. Request
  • 41. Performance HTML5 HTTP 2.0 SPDY Hypertext Transfer Protocol version 2.0 / IETF SPDY - The Chromium Projects SPDY Protocol / IETF
  • 42. HTTP TLS SPDY SPDY - Wikipedia ”
  • 43. Multiplexed streams Request prioritization HTTP header compression SPDY: An experimental protocol for a faster web - The Chromium Projects
  • 45. SSL SPDY Performance on Mobile Networks
  • 46.
  • 47. SPDY HTTP CDN SPDY HTTP 2.0
  • 48.
  • 49. HTML5( )
  • 51. HTML5.1 navigationController template Offline
  • 52. HTML5 Markup microdata / RDFa WebFonts, Canvas SPDY / HTTP 2.0
  • 53.
  • 54.
  • 55.
  • 56. HTML5 MediaQueries cena
  • 57.
  • 58. : ”
  • 59. HTML5
  • 61. Happy Happy HTML5 HTML5
  • 62. The End It is not HTML5. but ... Thank you so mach. http://bit.ly/h5study36sadah @sada_h