SlideShare a Scribd company logo
1 of 60
Download to read offline
HTML5 / CSS3




Friday, March 18, 2011
http://mediaarchive.cern.ch/MediaArchive/Photo/Public/1998/9806033/9806033/9806033-A4-at-144-dpi.jpg
Friday, March 18, 2011
This machine is a
                                                                                                   server, DO NOT
                                                                                                   POWER DOWN!




   http://obamapacman.com/wp-content/uploads/2009/08/First-World-Wide-Web-Server-at-CERN-made-possible-by-Tim-Berners-Lee-hosted-on-Steve-Jobs-NeXT-workstation-
                                                                       computer-300x225.jpg
Friday, March 18, 2011
Friday, March 18, 2011
GO!

                    Why do open
                 standards matter?




Friday, March 18, 2011
GO!




                                13717712538




                           http://gpssystems.net/wp-content/uploads/2009/11/sao-paulo-traffic-jam.jpg

Friday, March 18, 2011
Friday, March 18, 2011
Friday, March 18, 2011
Friday, March 18, 2011
HTML




Friday, March 18, 2011
HTML5   HTML4




Friday, March 18, 2011
device element

           3D                                                                       parser




                                        HTML5
              widgets                                                          Canvas

                                                           Text
                                                                                    Video


      geolocation



                                               HTML5
                                                  and friends
    http://www.flickr.com/photos/fuyoh/809640616/sizes/o/


Friday, March 18, 2011
Video




                                 source: http://zibin.tehais.com/?p=1641



Friday, March 18, 2011
<object width="425" height="344">
      <param name="movie" value="http://www.youtube.com/v/
      u1zgFlCw8Aw?fs=1"</param>
      <param name="allowFullScreen" value="true"></param>
      <param name="allowScriptAccess" value="always"></param>
      <embed src="http://www.youtube.com/v/u1zgFlCw8Aw?fs=1"
       type="application/x-shockwave-flash"
       allowfullscreen="true"
       allowscriptaccess="always"
       width="425" height="344">
      </embed>
      </object>




Friday, March 18, 2011
<video src="video.ogg" width="300" height="150"
                            controls></video>




Friday, March 18, 2011
CANVAS




                                  http://www.canvasdemos.com
Friday, March 18, 2011
<canvas id="myCanvas" width="300" height="150">
                         Fallback content, in case the browser does not support Canvas.
                         </canvas>




                         // Get a reference to the element.
                         var elem = document.getElementById('myCanvas');

                         // Always check for properties and methods, to make sure your code doesn't break
                         // in other browsers.
                         if (elem && elem.getContext) {
                           // Get the 2d context.
                           // Remember: you can only initialize one context per element.
                           var context = elem.getContext('2d');
                           if (context) {
                             // You are done! Now you can draw your first rectangle.
                             // You only need to provide the (x,y) coordinates, followed by the width and
                             // height dimensions.
                             context.fillRect(0, 0, 150, 100);
                           }
                         }




Friday, March 18, 2011
flash




Friday, March 18, 2011
http://www.dailyhtcblog.com/2010/11/augmented-reality-apps-for-android/
Friday, March 18, 2011
IP


                         Wi-Fi


                         Cell-ID


                                 GPS




Friday, March 18, 2011
Friday, March 18, 2011
if     navigator.geolocation
                             {
                                   navigator.geolocation.getCurrentPosition successFunction
                                   , errorFunction ;
                                }
                             else
                             {
                               alert “no support” ;
                             }



                         function successFunction position
                         {
                                  var lat = position.coords.latitude;
                                  var long = position.coords.longitude;
                                  alert 'Your latitude is :'+lat+' and longitude is '+long ;
                         }




Friday, March 18, 2011
Friday, March 18, 2011
3D



                         <trend 1>


                                WebGL              Text




                                 http://img9.zol.com.cn/desk_pic/big_432/431808.jpg
Friday, March 18, 2011
3D




Friday, March 18, 2011
Text




                          http://devfiles.myopera.com/articles/572/idlist-url.htm


Friday, March 18, 2011
HTML4 / XHTML   HTML5




Friday, March 18, 2011
Device



                         <trend 1>




                                     http://www.flickr.com/photos/anniehp/4312513225/
Friday, March 18, 2011
<!DOCTYPE html>
                  <h1>Simple web camera display demo</h1>
                  <device type="media"/>
                  <video autoplay></video>
                  <script type="text/javascript">
                         <trend 1>
                  var device = document.getElementsByTagName('device')[0],
                      video = document.getElementsByTagName('video')[0];
                  device.addEventListener('change', function() {
                    video.src = device.data;
                  }, true);
                  </script>




Friday, March 18, 2011
Widgets



                         <    />




Friday, March 18, 2011
HTML5
                         Semantics
                                     CSS3
                                      Design




Friday, March 18, 2011
<   />


                         CSS3


Friday, March 18, 2011
Borders Background




Friday, March 18, 2011
border-radius




       border-radius: 25px;




Friday, March 18, 2011
border-radius




    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;



Friday, March 18, 2011
border-radius




                                         source: http://zibin.tehais.com/?p=1410


Friday, March 18, 2011
multiple background images




Friday, March 18, 2011
multiple background images




     background:
       url(rose.png) no-repeat 150px -20px,
       url(driedrose.png) no-repeat,! ! ! !   !   !
       url(fieldsky.jpg) no-repeat;

Friday, March 18, 2011
box-shadow




      box-shadow: 10px 10px 0px #fff;




Friday, March 18, 2011
box-shadow




    box-shadow: 10px 10px 20px #fff;




Friday, March 18, 2011
Transitions Transform




Friday, March 18, 2011
Transitions

Friday, March 18, 2011
div {
     -o-transition-property: background-color,
   width, height;
     -o-transition-duration: 4s, 8s, 5s;
     -o-transition-delay: 0s, 0s 2s;
   }




Friday, March 18, 2011
Friday, March 18, 2011
@font-face {
     src: url(DeutscheZierschrift.ttf) format("truetype");
     font-family: "Zierschrift";
     font-style: normal;
     }

Friday, March 18, 2011
SVG




     @font-face {
     !      font-family: Blackout-Midnight;
     !      src: url(Blackout-Midnight.ttf) format("truetype");
     ! }

Friday, March 18, 2011
text-shadow




Friday, March 18, 2011
text-shadow




    text-shadow: #000000 10px 10px 19px;




Friday, March 18, 2011
text-shadow




         text-shadow:
         0 0 4px white, 0 -5px 4px #ff3,
         2px -10px 6px #fd3, -2px -15px 11px #f80,
         2px -25px 18px #f20;




Friday, March 18, 2011
Friday, March 18, 2011
opacity




                  opacity: 1.0;    opacity: 0.5;   opacity: 0.2;




Friday, March 18, 2011
rgba hsla


                                     rgba(255,0,0,1.0);

                                     rgba(255,0,0,0.8);

                                     rgba(255,0,0,0.6);

                                     rgba(255,0,0,0.4);

                                     rgba(255,0,0,0.2);



Friday, March 18, 2011
Friday, March 18, 2011
Friday, March 18, 2011
Friday, March 18, 2011
Friday, March 18, 2011
<   :-)/>




Friday, March 18, 2011
Q&A


                         zibin AT opera.com
                         twitter: zibin




Friday, March 18, 2011
Creative Commons license image
                  clap
                  http://www.flickr.com/photos/tudor/953584594/
                  spider web
                  http://www.flickr.com/photos/luc_viatour/2843025968/sizes/l/in/set-72157614714349217/
                  now
                  http://www.gottabemobile.com/2010/01/18/ebook-readers-strike-back-at-publishers-trying-to-
                  maximize-profits
                  shadow
                  http://www.flickr.com/photos/jenny-pics/3115479281/sizes/m/
                  transitions transform
                  http://www.flickr.com/photos/28481088@N00/1298930743/
                  borders and background
                  http://www.flickr.com/photos/cheekyneedle/178950842/sizes/o/
                  web fonts
                  http://www.flickr.com/photos/sekimura/4363831481/sizes/o/
                  clapping photo
                  http://splashclubpenguin.files.wordpress.com/2009/03/101606sly_claps.jpg
                  sun flower
                  http://www.flickr.com/photos/treyevan/429692359/sizes/l/
                  transition
                  http://www.flickr.com/photos/28481088@N00/1290363773/sizes/o/




Friday, March 18, 2011
Demo & article
                  background and borders articles
                  http://dev.opera.com/articles/view/css3-border-background-boxshadow/
                  border-radius flower demo
                  http://people.opera.com/zibin/css3flower/flower.html
                  transiitons and transform article
                  http://dev.opera.com/articles/view/css3-transitions-and-2d-transforms/
                  web fonts article
                  http://dev.opera.com/articles/view/seven-web-fonts-showcases/
                  9elements HTML5 demo
                  http://9elements.com/io/projects/html5/canvas/
                  David’s photobook demo
                  http://people.opera.com/dstorey/transforms/image-gallery.html




                  Presentation reference
                  introduction to CSS2.1 and CSS3
                  http://www.slideshare.net/marcamos/introduction-to-css-21-and-css-3




Friday, March 18, 2011

More Related Content

What's hot

What's hot (20)

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
 
HTML5 and the web of tomorrow!
HTML5  and the  web of tomorrow!HTML5  and the  web of tomorrow!
HTML5 and the web of tomorrow!
 
Multimedia on the web - HTML5 video and audio
Multimedia on the web - HTML5 video and audioMultimedia on the web - HTML5 video and audio
Multimedia on the web - HTML5 video and audio
 
What is HTML 5?
What is HTML 5?What is HTML 5?
What is HTML 5?
 
Building an HTML5 Video Player
Building an HTML5 Video PlayerBuilding an HTML5 Video Player
Building an HTML5 Video Player
 
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
 
Game Development Using HTML 5
Game Development Using HTML 5Game Development Using HTML 5
Game Development Using HTML 5
 
Css, xhtml, javascript
Css, xhtml, javascriptCss, xhtml, javascript
Css, xhtml, javascript
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5
 
An Introduction to HTML5
An Introduction to HTML5An Introduction to HTML5
An Introduction to HTML5
 
Building mobile applications with DrupalGap
Building mobile applications with DrupalGapBuilding mobile applications with DrupalGap
Building mobile applications with DrupalGap
 
iPhone Web Applications: HTML5, CSS3 & dev tips for iPhone development
iPhone Web Applications: HTML5, CSS3 & dev tips for iPhone developmentiPhone Web Applications: HTML5, CSS3 & dev tips for iPhone development
iPhone Web Applications: HTML5, CSS3 & dev tips for iPhone development
 
HTML5 JS APIs
HTML5 JS APIsHTML5 JS APIs
HTML5 JS APIs
 
Introduction to html 5
Introduction to html 5Introduction to html 5
Introduction to html 5
 
Intro to html 5
Intro to html 5Intro to html 5
Intro to html 5
 
Web Development for UX Designers
Web Development for UX DesignersWeb Development for UX Designers
Web Development for UX Designers
 
HTML5 & Friends
HTML5 & FriendsHTML5 & Friends
HTML5 & Friends
 
HTML5 Video Player - HTML5 Dev Conf 2012
HTML5 Video Player - HTML5 Dev Conf 2012HTML5 Video Player - HTML5 Dev Conf 2012
HTML5 Video Player - HTML5 Dev Conf 2012
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
 
Real World Web Standards
Real World Web StandardsReal World Web Standards
Real World Web Standards
 

Viewers also liked

Standards: politics, case studies
Standards: politics, case studiesStandards: politics, case studies
Standards: politics, case studies
Zi Bin Cheah
 
De verkenners - nieuwe machten in distributie, 17 mei 2013
De verkenners - nieuwe machten in distributie, 17 mei 2013 De verkenners - nieuwe machten in distributie, 17 mei 2013
De verkenners - nieuwe machten in distributie, 17 mei 2013
Microsoft
 
De verkenners - Nieuwe machten in distributie, 17 mei 2013
De verkenners - Nieuwe machten in distributie, 17 mei 2013De verkenners - Nieuwe machten in distributie, 17 mei 2013
De verkenners - Nieuwe machten in distributie, 17 mei 2013
Microsoft
 
Mobile Web Trends inIndonesia
Mobile Web Trends inIndonesiaMobile Web Trends inIndonesia
Mobile Web Trends inIndonesia
Zi Bin Cheah
 

Viewers also liked (6)

Standards: politics, case studies
Standards: politics, case studiesStandards: politics, case studies
Standards: politics, case studies
 
De verkenners - nieuwe machten in distributie, 17 mei 2013
De verkenners - nieuwe machten in distributie, 17 mei 2013 De verkenners - nieuwe machten in distributie, 17 mei 2013
De verkenners - nieuwe machten in distributie, 17 mei 2013
 
De verkenners - Nieuwe machten in distributie, 17 mei 2013
De verkenners - Nieuwe machten in distributie, 17 mei 2013De verkenners - Nieuwe machten in distributie, 17 mei 2013
De verkenners - Nieuwe machten in distributie, 17 mei 2013
 
Off0509 Vademecum[1]
Off0509 Vademecum[1]Off0509 Vademecum[1]
Off0509 Vademecum[1]
 
Mobile Web Trends inIndonesia
Mobile Web Trends inIndonesiaMobile Web Trends inIndonesia
Mobile Web Trends inIndonesia
 
MCP
MCPMCP
MCP
 

Similar to Taiwan Web Standards Talk 2011

Open social 2.0 sandbox ee and breaking out of the gadget box
Open social 2.0 sandbox  ee and breaking out of the gadget boxOpen social 2.0 sandbox  ee and breaking out of the gadget box
Open social 2.0 sandbox ee and breaking out of the gadget box
Ryan Baxter
 
HTML5 kickstart - Brooklyn Beta workshop 21.10.2010
HTML5 kickstart - Brooklyn Beta workshop 21.10.2010HTML5 kickstart - Brooklyn Beta workshop 21.10.2010
HTML5 kickstart - Brooklyn Beta workshop 21.10.2010
Patrick Lauke
 
HTML5 Who what where when why how
HTML5 Who what where when why howHTML5 Who what where when why how
HTML5 Who what where when why how
brucelawson
 
HTML5: Building the Next Generation of Web Applications
HTML5: Building the Next Generation of Web ApplicationsHTML5: Building the Next Generation of Web Applications
HTML5: Building the Next Generation of Web Applications
Chrome Developer Relations
 
iPhone offline webapps
iPhone offline webappsiPhone offline webapps
iPhone offline webapps
Home
 

Similar to Taiwan Web Standards Talk 2011 (20)

HTML XHTML HTML5
HTML XHTML HTML5HTML XHTML HTML5
HTML XHTML HTML5
 
Tim stone.html5.rjug.20110316
Tim stone.html5.rjug.20110316Tim stone.html5.rjug.20110316
Tim stone.html5.rjug.20110316
 
HTML5 Introduction
HTML5 IntroductionHTML5 Introduction
HTML5 Introduction
 
jQuery Mobile
jQuery MobilejQuery Mobile
jQuery Mobile
 
Clustering Made Easier: Using Terracotta with Hibernate and/or EHCache
Clustering Made Easier: Using Terracotta with Hibernate and/or EHCacheClustering Made Easier: Using Terracotta with Hibernate and/or EHCache
Clustering Made Easier: Using Terracotta with Hibernate and/or EHCache
 
Optaros Surf Code Camp Walkthrough 2
Optaros Surf Code Camp Walkthrough 2Optaros Surf Code Camp Walkthrough 2
Optaros Surf Code Camp Walkthrough 2
 
Open social 2.0 sandbox ee and breaking out of the gadget box
Open social 2.0 sandbox  ee and breaking out of the gadget boxOpen social 2.0 sandbox  ee and breaking out of the gadget box
Open social 2.0 sandbox ee and breaking out of the gadget box
 
Movable Type 5 Smartphone Option
Movable Type 5 Smartphone OptionMovable Type 5 Smartphone Option
Movable Type 5 Smartphone Option
 
Using HTML5 sensibly
Using HTML5 sensiblyUsing HTML5 sensibly
Using HTML5 sensibly
 
Html 5 in a big nutshell
Html 5 in a big nutshellHtml 5 in a big nutshell
Html 5 in a big nutshell
 
Html5
Html5Html5
Html5
 
Taking your Web App for a walk
Taking your Web App for a walkTaking your Web App for a walk
Taking your Web App for a walk
 
Optaros Surf Code Camp Lab 4
Optaros Surf Code Camp Lab 4Optaros Surf Code Camp Lab 4
Optaros Surf Code Camp Lab 4
 
HTML5와 모바일
HTML5와 모바일HTML5와 모바일
HTML5와 모바일
 
Mobile HTML, CSS, and JavaScript
Mobile HTML, CSS, and JavaScriptMobile HTML, CSS, and JavaScript
Mobile HTML, CSS, and JavaScript
 
HTML 5
HTML 5HTML 5
HTML 5
 
HTML5 kickstart - Brooklyn Beta workshop 21.10.2010
HTML5 kickstart - Brooklyn Beta workshop 21.10.2010HTML5 kickstart - Brooklyn Beta workshop 21.10.2010
HTML5 kickstart - Brooklyn Beta workshop 21.10.2010
 
HTML5 Who what where when why how
HTML5 Who what where when why howHTML5 Who what where when why how
HTML5 Who what where when why how
 
HTML5: Building the Next Generation of Web Applications
HTML5: Building the Next Generation of Web ApplicationsHTML5: Building the Next Generation of Web Applications
HTML5: Building the Next Generation of Web Applications
 
iPhone offline webapps
iPhone offline webappsiPhone offline webapps
iPhone offline webapps
 

More from Zi Bin Cheah

W3C HTML5 Chinese IG Report
W3C HTML5 Chinese IG ReportW3C HTML5 Chinese IG Report
W3C HTML5 Chinese IG Report
Zi Bin Cheah
 
Beyond HTML5:Device, Graphics, Orientation, Real Time
Beyond HTML5:Device, Graphics, Orientation, Real TimeBeyond HTML5:Device, Graphics, Orientation, Real Time
Beyond HTML5:Device, Graphics, Orientation, Real Time
Zi Bin Cheah
 
Opera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 StandardsOpera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 Standards
Zi Bin Cheah
 
不懂HTML5 非好汉 Be a man, learn HTML5
不懂HTML5 非好汉 Be a man, learn HTML5不懂HTML5 非好汉 Be a man, learn HTML5
不懂HTML5 非好汉 Be a man, learn HTML5
Zi Bin Cheah
 
Nigeria & Designing for the Mobile Web
Nigeria & Designing for the Mobile WebNigeria & Designing for the Mobile Web
Nigeria & Designing for the Mobile Web
Zi Bin Cheah
 
Web Standards Indonesia Tour
Web Standards Indonesia TourWeb Standards Indonesia Tour
Web Standards Indonesia Tour
Zi Bin Cheah
 
Browsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talkBrowsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talk
Zi Bin Cheah
 
Designing for the mobile web
Designing for the mobile webDesigning for the mobile web
Designing for the mobile web
Zi Bin Cheah
 
CSS3大補貼 - COSCUP/GNOME.asia
CSS3大補貼 - COSCUP/GNOME.asiaCSS3大補貼 - COSCUP/GNOME.asia
CSS3大補貼 - COSCUP/GNOME.asia
Zi Bin Cheah
 
Html5/CSS3 in shanghai 2010
Html5/CSS3 in shanghai 2010Html5/CSS3 in shanghai 2010
Html5/CSS3 in shanghai 2010
Zi Bin Cheah
 
谈一谈HTML5/CSS3 @ WebRebuild 2010
谈一谈HTML5/CSS3 @ WebRebuild 2010谈一谈HTML5/CSS3 @ WebRebuild 2010
谈一谈HTML5/CSS3 @ WebRebuild 2010
Zi Bin Cheah
 
Cutting Edge CSS3 @ WebExpo Tour 2010
Cutting Edge CSS3 @ WebExpo Tour 2010Cutting Edge CSS3 @ WebExpo Tour 2010
Cutting Edge CSS3 @ WebExpo Tour 2010
Zi Bin Cheah
 
Browser War 2: Standards strikes back
Browser War 2: Standards strikes backBrowser War 2: Standards strikes back
Browser War 2: Standards strikes back
Zi Bin Cheah
 

More from Zi Bin Cheah (18)

W3C HTML5 Chinese IG Report
W3C HTML5 Chinese IG ReportW3C HTML5 Chinese IG Report
W3C HTML5 Chinese IG Report
 
Html5games
Html5gamesHtml5games
Html5games
 
Beyond HTML5:Device, Graphics, Orientation, Real Time
Beyond HTML5:Device, Graphics, Orientation, Real TimeBeyond HTML5:Device, Graphics, Orientation, Real Time
Beyond HTML5:Device, Graphics, Orientation, Real Time
 
Opera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 StandardsOpera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 Standards
 
不懂HTML5 非好汉 Be a man, learn HTML5
不懂HTML5 非好汉 Be a man, learn HTML5不懂HTML5 非好汉 Be a man, learn HTML5
不懂HTML5 非好汉 Be a man, learn HTML5
 
Nigeria & Designing for the Mobile Web
Nigeria & Designing for the Mobile WebNigeria & Designing for the Mobile Web
Nigeria & Designing for the Mobile Web
 
Web Standards Indonesia Tour
Web Standards Indonesia TourWeb Standards Indonesia Tour
Web Standards Indonesia Tour
 
let's talk web standards
let's talk web standardslet's talk web standards
let's talk web standards
 
Browsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talkBrowsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talk
 
Designing for the mobile web
Designing for the mobile webDesigning for the mobile web
Designing for the mobile web
 
CSS3大補貼 - COSCUP/GNOME.asia
CSS3大補貼 - COSCUP/GNOME.asiaCSS3大補貼 - COSCUP/GNOME.asia
CSS3大補貼 - COSCUP/GNOME.asia
 
Html5/CSS3 in shanghai 2010
Html5/CSS3 in shanghai 2010Html5/CSS3 in shanghai 2010
Html5/CSS3 in shanghai 2010
 
HTML5/CSS3 @ Baidu
HTML5/CSS3 @ BaiduHTML5/CSS3 @ Baidu
HTML5/CSS3 @ Baidu
 
谈一谈HTML5/CSS3 @ WebRebuild 2010
谈一谈HTML5/CSS3 @ WebRebuild 2010谈一谈HTML5/CSS3 @ WebRebuild 2010
谈一谈HTML5/CSS3 @ WebRebuild 2010
 
Cutting Edge CSS3 @ WebExpo Tour 2010
Cutting Edge CSS3 @ WebExpo Tour 2010Cutting Edge CSS3 @ WebExpo Tour 2010
Cutting Edge CSS3 @ WebExpo Tour 2010
 
Web Standards @ Opera Talk Oslo
Web Standards @ Opera Talk OsloWeb Standards @ Opera Talk Oslo
Web Standards @ Opera Talk Oslo
 
Standards Talk - Opera Uni Tour Indonesia
Standards Talk - Opera Uni Tour IndonesiaStandards Talk - Opera Uni Tour Indonesia
Standards Talk - Opera Uni Tour Indonesia
 
Browser War 2: Standards strikes back
Browser War 2: Standards strikes backBrowser War 2: Standards strikes back
Browser War 2: Standards strikes back
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
[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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Taiwan Web Standards Talk 2011

  • 1. HTML5 / CSS3 Friday, March 18, 2011
  • 3. This machine is a server, DO NOT POWER DOWN! http://obamapacman.com/wp-content/uploads/2009/08/First-World-Wide-Web-Server-at-CERN-made-possible-by-Tim-Berners-Lee-hosted-on-Steve-Jobs-NeXT-workstation- computer-300x225.jpg Friday, March 18, 2011
  • 5. GO! Why do open standards matter? Friday, March 18, 2011
  • 6. GO! 13717712538 http://gpssystems.net/wp-content/uploads/2009/11/sao-paulo-traffic-jam.jpg Friday, March 18, 2011
  • 11. HTML5 HTML4 Friday, March 18, 2011
  • 12. device element 3D parser HTML5 widgets Canvas Text Video geolocation HTML5 and friends http://www.flickr.com/photos/fuyoh/809640616/sizes/o/ Friday, March 18, 2011
  • 13. Video source: http://zibin.tehais.com/?p=1641 Friday, March 18, 2011
  • 14. <object width="425" height="344"> <param name="movie" value="http://www.youtube.com/v/ u1zgFlCw8Aw?fs=1"</param> <param name="allowFullScreen" value="true"></param> <param name="allowScriptAccess" value="always"></param> <embed src="http://www.youtube.com/v/u1zgFlCw8Aw?fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="425" height="344"> </embed> </object> Friday, March 18, 2011
  • 15. <video src="video.ogg" width="300" height="150" controls></video> Friday, March 18, 2011
  • 16. CANVAS http://www.canvasdemos.com Friday, March 18, 2011
  • 17. <canvas id="myCanvas" width="300" height="150"> Fallback content, in case the browser does not support Canvas. </canvas> // Get a reference to the element. var elem = document.getElementById('myCanvas'); // Always check for properties and methods, to make sure your code doesn't break // in other browsers. if (elem && elem.getContext) { // Get the 2d context. // Remember: you can only initialize one context per element. var context = elem.getContext('2d'); if (context) { // You are done! Now you can draw your first rectangle. // You only need to provide the (x,y) coordinates, followed by the width and // height dimensions. context.fillRect(0, 0, 150, 100); } } Friday, March 18, 2011
  • 20. IP Wi-Fi Cell-ID GPS Friday, March 18, 2011
  • 22. if navigator.geolocation { navigator.geolocation.getCurrentPosition successFunction , errorFunction ; } else { alert “no support” ; } function successFunction position { var lat = position.coords.latitude; var long = position.coords.longitude; alert 'Your latitude is :'+lat+' and longitude is '+long ; } Friday, March 18, 2011
  • 24. 3D <trend 1> WebGL Text http://img9.zol.com.cn/desk_pic/big_432/431808.jpg Friday, March 18, 2011
  • 26. Text http://devfiles.myopera.com/articles/572/idlist-url.htm Friday, March 18, 2011
  • 27. HTML4 / XHTML HTML5 Friday, March 18, 2011
  • 28. Device <trend 1> http://www.flickr.com/photos/anniehp/4312513225/ Friday, March 18, 2011
  • 29. <!DOCTYPE html> <h1>Simple web camera display demo</h1> <device type="media"/> <video autoplay></video> <script type="text/javascript"> <trend 1> var device = document.getElementsByTagName('device')[0], video = document.getElementsByTagName('video')[0]; device.addEventListener('change', function() { video.src = device.data; }, true); </script> Friday, March 18, 2011
  • 30. Widgets < /> Friday, March 18, 2011
  • 31. HTML5 Semantics CSS3 Design Friday, March 18, 2011
  • 32. < /> CSS3 Friday, March 18, 2011
  • 34. border-radius border-radius: 25px; Friday, March 18, 2011
  • 35. border-radius border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; Friday, March 18, 2011
  • 36. border-radius source: http://zibin.tehais.com/?p=1410 Friday, March 18, 2011
  • 38. multiple background images background: url(rose.png) no-repeat 150px -20px, url(driedrose.png) no-repeat,! ! ! ! ! ! url(fieldsky.jpg) no-repeat; Friday, March 18, 2011
  • 39. box-shadow box-shadow: 10px 10px 0px #fff; Friday, March 18, 2011
  • 40. box-shadow box-shadow: 10px 10px 20px #fff; Friday, March 18, 2011
  • 43. div { -o-transition-property: background-color, width, height; -o-transition-duration: 4s, 8s, 5s; -o-transition-delay: 0s, 0s 2s; } Friday, March 18, 2011
  • 45. @font-face { src: url(DeutscheZierschrift.ttf) format("truetype"); font-family: "Zierschrift"; font-style: normal; } Friday, March 18, 2011
  • 46. SVG @font-face { ! font-family: Blackout-Midnight; ! src: url(Blackout-Midnight.ttf) format("truetype"); ! } Friday, March 18, 2011
  • 48. text-shadow text-shadow: #000000 10px 10px 19px; Friday, March 18, 2011
  • 49. text-shadow text-shadow: 0 0 4px white, 0 -5px 4px #ff3, 2px -10px 6px #fd3, -2px -15px 11px #f80, 2px -25px 18px #f20; Friday, March 18, 2011
  • 51. opacity opacity: 1.0; opacity: 0.5; opacity: 0.2; Friday, March 18, 2011
  • 52. rgba hsla rgba(255,0,0,1.0); rgba(255,0,0,0.8); rgba(255,0,0,0.6); rgba(255,0,0,0.4); rgba(255,0,0,0.2); Friday, March 18, 2011
  • 57. < :-)/> Friday, March 18, 2011
  • 58. Q&A zibin AT opera.com twitter: zibin Friday, March 18, 2011
  • 59. Creative Commons license image clap http://www.flickr.com/photos/tudor/953584594/ spider web http://www.flickr.com/photos/luc_viatour/2843025968/sizes/l/in/set-72157614714349217/ now http://www.gottabemobile.com/2010/01/18/ebook-readers-strike-back-at-publishers-trying-to- maximize-profits shadow http://www.flickr.com/photos/jenny-pics/3115479281/sizes/m/ transitions transform http://www.flickr.com/photos/28481088@N00/1298930743/ borders and background http://www.flickr.com/photos/cheekyneedle/178950842/sizes/o/ web fonts http://www.flickr.com/photos/sekimura/4363831481/sizes/o/ clapping photo http://splashclubpenguin.files.wordpress.com/2009/03/101606sly_claps.jpg sun flower http://www.flickr.com/photos/treyevan/429692359/sizes/l/ transition http://www.flickr.com/photos/28481088@N00/1290363773/sizes/o/ Friday, March 18, 2011
  • 60. Demo & article background and borders articles http://dev.opera.com/articles/view/css3-border-background-boxshadow/ border-radius flower demo http://people.opera.com/zibin/css3flower/flower.html transiitons and transform article http://dev.opera.com/articles/view/css3-transitions-and-2d-transforms/ web fonts article http://dev.opera.com/articles/view/seven-web-fonts-showcases/ 9elements HTML5 demo http://9elements.com/io/projects/html5/canvas/ David’s photobook demo http://people.opera.com/dstorey/transforms/image-gallery.html Presentation reference introduction to CSS2.1 and CSS3 http://www.slideshare.net/marcamos/introduction-to-css-21-and-css-3 Friday, March 18, 2011