SlideShare ist ein Scribd-Unternehmen logo
1 von 44
Downloaden Sie, um offline zu lesen
HTML 5
        Overview

Marcelio Leal - @marcelioleal
Marcelio Leal
       @marcelioleal - For twitters
http://marcelioleal.com - For other things

            Software Engineer Chief at @onsee
            PHP Pai d’Égua User Group cofounder
            10 anos de experiência em Webdev
“PQP, finalmente “chegou” o HTML 5 !”
  Eu, depois que vi a primeira vez as
         coisas do HTML 5...
HTML
Hipertext Markup Language

     Fácil                  Simples

               Intuitiva

                    Extensível
         Rápida
What’s HTML5 ?
    A nova versão do HTML




       Sinônimo de coisa
        #estaile na Web.
Agentes
• Web Hipertext Application Technology
  Working Group (WHATWG) - whatwg.com
  • Criado em 2004 - Contribuidores individuais, Apple, Monzilla,
     Google and Opera

  • Aberto para contribuições
  • Demos, APIs, Contribuições ligadas ao HTML

• World Wide Web Consortium (W3C)
  • Draft do HTML5 em 2008
Timeline - The Origin
          1991 - Tags(HTML) mensionadas

1993 - Draft HTML
                    1995 - HTML 2
1997 - HTML 3.2 (Jan), HTML 4 (Dec) - W3C
    1999 - HTML 4.1 - recomendação W3C

                             #gambi ?
          2000 - XHTML 1.0
Timeline 2000
                      Dreamweaver
                       faz a festa
   2001 - XHTML 1.1


        2001/2007 -W3C Sleeps
                                     Dreamweaver
                                       #farelo


  2004 - WHATWG starts Project Web             Web
      Applications (HTML5 +-)                  2.0



2008 - Draft HTML5 by W3C
    2009 - W3C anuncia fim do grupo do XHTML
Mudanças
Simplificações
Doctype
      <!DOCTYPE html>
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


Type não necessário
      <script src=”jacarato.js”></script>
       <link href=”jacapaladium.js”></link>
Novidades
✓article        ✓footer
✓aside          ✓header
✓audio          ✓mark
✓canvas         ✓meter
✓command        ✓nav
✓datagrid       ✓output
✓datalist       ✓progress
✓datatemplate   ✓source
✓event-source   ✓time
✓figure          ✓video
#farelo
✓acronym
✓applet
✓basefont
✓dir            ✓frame
✓font           ✓frameset
✓s              ✓noframes
✓strike         ✓tt
✓u
✓big
✓center
Separation


Presentation
                            Content
Old structure
New structure
Áudio e Vídeo
           Audio element (OGG) :
SRC, AUTOBUFFER, CONTROLS, LOOP, AUTOPLAY

<audio src="gugu.ogg" autoplay controls></audio>

        Video element (OGV, MP4):
      SRC, CONTROLS, LOOP, AUTOPLAY

  <video src=”tiririca.ogv” loop autoplay />
Old way
<object classid="clsid:d27cdb6e-
ae6d-11cf-96b8-444553540000" width="425"
height="344" codebase="http://
download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=6,0,40,0">
<param name="allowFullScreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="src" value="http://www.youtube.com/v/
oHg5SJYRHA0&hl=en&fs=1&" />
<param name="allowfullscreen" value="true" />
<embed type="application/x-shockwave-flash"
width="425" height="344" src="http://www.youtube.com/
v/oHg5SJYRHA0&hl=en&fs=1&"
allowscriptaccess="always" allowfullscreen="true">
</embed>
</object>
New way
<video width="640"  height="360"
src="http://www.youtube.com/demo/google_main.mp4"  
controls autobuffer>
   <p> Try this page in Safari  4! Or you can
     <a  href="http://www.youtube.com/demo/
     google_main.mp4">download the  video</a>
     instead.</p>
  </video>
Simple is Better
Videos Format

• Ogg Theora / Voribs
  • Firefox 3.5 + / Chrome / Opera
• MPEG-4 H.264/ACC
  • Safari / Chrome / Opera
Controles Nativos
Quem mais ?
CSS 3

• Em desenvolvimento
• Está sendo desenvolvido em sub-especificações
  • tranformation, animation, transition
• Esse caras ficam brincando com isso:
  • http://www.zurb.com/playground
Form              <form action="formdemo.php" method="post">
                  	 	 <label for="name">Name:</label>
                  	 	 <input type="text" name="name" required
                  placeholder="Name" />
                  	 	
                  	 	 <label for="email">Email:</label>
                  	 	 <input type="email" name="email" required
                  placeholder="email@example.com" />

                  	 	 <label for="website">Website:</label>
                  	 	 <input type="url" name="website" required
                  placeholder="http://www.example.com" />

                  	 	 <label for="number">Number:</label>
                  	 	 <input type="number" name="number" min="0"
                  max="10" step="2" required placeholder="Even num <
                  10">

                  	 	 <label for="range">Range:</label>
                  	 	 <input type="range" name="range" min="0"
                  max="10" step="2" />

                  ...
       http://www.bradshawenterprises.com/tests/formdemo.php
CSS   /* The interesting bit */
      	 	
      input:not(:focus), textarea:not(:focus) {
      	 opacity:0.5;
      }
      	 	
      input:required, textarea:required {
          background:url("/tests/formdemo/
      asterisk_orange.png") no-repeat 280px
      7px;	 	 	 	 	 	
      }

      	 	 input:valid, textarea:valid {
      	 	 	 background:url("/tests/formdemo/tick.png")
      no-repeat 280px 5px;	 	 	
      	 	 }	 	

      	 	 input:focus:invalid, textarea:focus:invalid {
      	 	 	 background:url("/tests/formdemo/
      cancel.png") no-repeat 280px 7px;	
                                       	 	 	 	 	
      	 	 }

      	   	   input[type=submit] {
      	   	   	 padding:10px;
      	   	   	 background:none;
      	   	   	 opacity:1.0;
      	   	   }
Input - New Types
• search     • month
• tel        • week
• url        • time
• email      • datetime-local
• datetime   • number
• date       • range
             • color
Form - Types
HTML5 Apps
Geolocation
Canvas
<canvas id="myCanvas" width="300" height="150">
Fallback content, in case the browser does not support Canvas.
</canvas>


                                   <script type="text/javascript"><!--
                               window.addEventListener('load', function () {
                                 // Get the canvas element.
                                 var elem = document.getElementById('myCanvas');
                                 if (!elem || !elem.getContext) {
                                   return;
                                 }

                                  // Get the canvas 2d context.
                                  var context = elem.getContext('2d');
                                  if (!context) {
                                    return;
                                  }

                                 // Now you are done! Let's draw a blue rectangle.
                                 context.fillStyle = '#00f';
                                 context.fillRect(0, 0, 150, 100);
                               }, false);
                                   // --></script>


                  http://dev.opera.com/articles/view/html-5-canvas-the-basics/
Canvas e Maluquices
“The world is moving to HTML5”
          Steve Jobs
“I had no idea there was so
much HTML5 already in play”
         Tim O’Reilly
“The Web has not seen this level of transformation,
this level of aceleration, in the past 10 years... we’re
                betting big on HTML5”
                 Vic Gundotra, Google
“The Web has not seen this level of transformation,
this level of aceleration, in the past 10 years... we’re
                betting big on HTML5”
                 Vic Gundotra, Google
http://ishtml5readyyet.com/

   http://caniuse.com/
Referências
• WHATWG - HTML 5 - http://www.whatwg.org/specs/
• IETF - WebSocket http://tools.ietf.org/html/draft-hixie-
   thewebsocketprotocol-76

• W3C - HTML5 - http://dev.w3.org/html5/spec/Overview.html
• Blog - Vídeo/HTML5 - http://paulrouget.com/
• http://people.mozilla.com/~prouget/demos/
   DynamicContentInjection/play.xhtml

• http://woorkup.com/wp-content/uploads/2009/12/HTML5-Visual-
   Cheat-Sheet.pdf

• CSS 3 -http://www.zurb.com/playground/
• http://www.slideshare.net/nathansmith/echo-html5

• Tag de Vídeo - http://html5doctor.com/the-video-element/
Imagens
•   http://www.flickr.com/photos/dricker94/4286899940/sizes/m/in/photostream/

•   http://www.flickr.com/photos/simax/3390895249/sizes/m/in/photostream/

•   http://www.flickr.com/photos/wwworks/3196112134/sizes/m/in/photostream/


•   http://c.universalscraps.com/files/en/cool/cool_003.jpg


•   http://fc05.deviantart.net/fs39/f/2008/357/8/b/Fractals_Are_Cool_by_Clarence_Garside.jpg

•   http://3.bp.blogspot.com/_8Zmrc2HRYvU/SatKYx3WOnI/AAAAAAAAATE/bdL8D3UYclc/s400/carneirinho.jpg

•   http://1.bp.blogspot.com/_WA6vC0pgjAY/Sb9BVmeN_xI/AAAAAAAAADc/rGkB897g_TE/s320/149033.jpg


•   http://baiano.files.wordpress.com/2007/10/rene_higuita.jpg


•   http://www.flickr.com/photos/svenwerk/541434909/sizes/m/in/photostream/

•   http://www.flickr.com/photos/12905355@N05/4301184191/

•   http://www.flickr.com/photos/improbulus/311039122/sizes/m/in/photostream/


•   http://www.flickr.com/photos/niallkennedy/4166725591/sizes/m/in/photostream/


•   http://sleepzine.com/wp-content/uploads/2007/03/google-girl-780952.jpg
Thank You
         Marcelio Leal
         @marcelioleal
       marcelioleal.com
     marcelioleal@gmail.com

@onsee               @phppaidegua

Weitere ähnliche Inhalte

Was ist angesagt?

How to make Ajax work for you
How to make Ajax work for youHow to make Ajax work for you
How to make Ajax work for youSimon Willison
 
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)Nicholas Zakas
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax ApplicationsJulien Lecomte
 
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
 
Front end performance optimization
Front end performance optimizationFront end performance optimization
Front end performance optimizationStevie T
 
Front end performance tip
Front end performance tipFront end performance tip
Front end performance tipSteve Yu
 
Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)Peter Lubbers
 
2015 - Basta! 2015, DE: JavaScript und build
2015 - Basta! 2015, DE: JavaScript und build2015 - Basta! 2015, DE: JavaScript und build
2015 - Basta! 2015, DE: JavaScript und buildDaniel Fisher
 
It's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking ModernizrIt's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking ModernizrMichael Enslow
 
Don't Over-React - just use Vue!
Don't Over-React - just use Vue!Don't Over-React - just use Vue!
Don't Over-React - just use Vue!Raymond Camden
 
Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?Walter Ebert
 
Building a JavaScript Library
Building a JavaScript LibraryBuilding a JavaScript Library
Building a JavaScript Libraryjeresig
 
Html5 & CSS overview
Html5 & CSS overviewHtml5 & CSS overview
Html5 & CSS overviewIvan Frantar
 

Was ist angesagt? (20)

How to make Ajax work for you
How to make Ajax work for youHow to make Ajax work for you
How to make Ajax work for you
 
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)
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
 
HTML5: friend or foe (to Flash)?
HTML5: friend or foe (to Flash)?HTML5: friend or foe (to Flash)?
HTML5: friend or foe (to Flash)?
 
High-Quality JavaScript
High-Quality JavaScriptHigh-Quality JavaScript
High-Quality JavaScript
 
HTML5 JS APIs
HTML5 JS APIsHTML5 JS APIs
HTML5 JS APIs
 
Echo HTML5
Echo HTML5Echo HTML5
Echo HTML5
 
Front End Performance
Front End PerformanceFront End Performance
Front End Performance
 
Front end performance optimization
Front end performance optimizationFront end performance optimization
Front end performance optimization
 
Front end performance tip
Front end performance tipFront end performance tip
Front end performance tip
 
Ajax Security
Ajax SecurityAjax Security
Ajax Security
 
Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)
 
2015 - Basta! 2015, DE: JavaScript und build
2015 - Basta! 2015, DE: JavaScript und build2015 - Basta! 2015, DE: JavaScript und build
2015 - Basta! 2015, DE: JavaScript und build
 
It's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking ModernizrIt's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking Modernizr
 
jQuery UI and Plugins
jQuery UI and PluginsjQuery UI and Plugins
jQuery UI and Plugins
 
Don't Over-React - just use Vue!
Don't Over-React - just use Vue!Don't Over-React - just use Vue!
Don't Over-React - just use Vue!
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 
Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?
 
Building a JavaScript Library
Building a JavaScript LibraryBuilding a JavaScript Library
Building a JavaScript Library
 
Html5 & CSS overview
Html5 & CSS overviewHtml5 & CSS overview
Html5 & CSS overview
 

Andere mochten auch

Web2 Voorbeeldpresentatie
Web2 VoorbeeldpresentatieWeb2 Voorbeeldpresentatie
Web2 Voorbeeldpresentatiecharlotte507
 
Uk Presentation Serious Games Expo Lyon 2009 V2
Uk Presentation Serious Games Expo Lyon 2009 V2Uk Presentation Serious Games Expo Lyon 2009 V2
Uk Presentation Serious Games Expo Lyon 2009 V2Angelo Marco LUCCINI
 
InnoTube: a collaborative WEB2.0 platform (presented in Paris)
InnoTube: a collaborative WEB2.0 platform (presented in Paris)InnoTube: a collaborative WEB2.0 platform (presented in Paris)
InnoTube: a collaborative WEB2.0 platform (presented in Paris)Angelo Marco LUCCINI
 
Wayofcross Powerpt
Wayofcross Powerpt Wayofcross Powerpt
Wayofcross Powerpt mariajose24
 
Sources for Chinese History
Sources for Chinese HistorySources for Chinese History
Sources for Chinese Historywendyloke
 

Andere mochten auch (7)

Web2 Voorbeeldpresentatie
Web2 VoorbeeldpresentatieWeb2 Voorbeeldpresentatie
Web2 Voorbeeldpresentatie
 
Uk Presentation Serious Games Expo Lyon 2009 V2
Uk Presentation Serious Games Expo Lyon 2009 V2Uk Presentation Serious Games Expo Lyon 2009 V2
Uk Presentation Serious Games Expo Lyon 2009 V2
 
2010 11-06-ltfes
2010 11-06-ltfes2010 11-06-ltfes
2010 11-06-ltfes
 
InnoTube: a collaborative WEB2.0 platform (presented in Paris)
InnoTube: a collaborative WEB2.0 platform (presented in Paris)InnoTube: a collaborative WEB2.0 platform (presented in Paris)
InnoTube: a collaborative WEB2.0 platform (presented in Paris)
 
Wayofcross Powerpt
Wayofcross Powerpt Wayofcross Powerpt
Wayofcross Powerpt
 
Presentation Expo Lyon2009v2
Presentation Expo Lyon2009v2Presentation Expo Lyon2009v2
Presentation Expo Lyon2009v2
 
Sources for Chinese History
Sources for Chinese HistorySources for Chinese History
Sources for Chinese History
 

Ähnlich wie HTML 5 - Overview

Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Sadaaki HIRAI
 
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....Patrick Lauke
 
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考えるIt is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考えるSadaaki HIRAI
 
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
 
Repaso rápido a los nuevos estándares web
Repaso rápido a los nuevos estándares webRepaso rápido a los nuevos estándares web
Repaso rápido a los nuevos estándares webPablo Garaizar
 
HTML5 and CSS3 Techniques You Can Use Today
HTML5 and CSS3 Techniques You Can Use TodayHTML5 and CSS3 Techniques You Can Use Today
HTML5 and CSS3 Techniques You Can Use TodayTodd Anglin
 
Leave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, CroatiaLeave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, CroatiaRobert Nyman
 
Html5 - short intro
Html5 - short introHtml5 - short intro
Html5 - short introjeiseman
 
Html5 drupal7 with mandakini kumari(1)
Html5 drupal7 with mandakini kumari(1)Html5 drupal7 with mandakini kumari(1)
Html5 drupal7 with mandakini kumari(1)Mandakini Kumari
 
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.2010Patrick Lauke
 
The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5Todd Anglin
 

Ähnlich wie HTML 5 - Overview (20)

Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
 
Introduccion a HTML5
Introduccion a HTML5Introduccion a HTML5
Introduccion a HTML5
 
html5
html5html5
html5
 
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
 
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考えるIt is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
 
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)
 
Html5 - Novas Tags na Prática!
Html5 - Novas Tags na Prática!Html5 - Novas Tags na Prática!
Html5 - Novas Tags na Prática!
 
HTML5
HTML5HTML5
HTML5
 
Repaso rápido a los nuevos estándares web
Repaso rápido a los nuevos estándares webRepaso rápido a los nuevos estándares web
Repaso rápido a los nuevos estándares web
 
Demystifying HTML5
Demystifying HTML5Demystifying HTML5
Demystifying HTML5
 
[In Control 2010] HTML5
[In Control 2010] HTML5[In Control 2010] HTML5
[In Control 2010] HTML5
 
HTML5 and CSS3 Techniques You Can Use Today
HTML5 and CSS3 Techniques You Can Use TodayHTML5 and CSS3 Techniques You Can Use Today
HTML5 and CSS3 Techniques You Can Use Today
 
Leave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, CroatiaLeave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, Croatia
 
Html5 - short intro
Html5 - short introHtml5 - short intro
Html5 - short intro
 
Web Apps
Web AppsWeb Apps
Web Apps
 
Html5 For Jjugccc2009fall
Html5 For Jjugccc2009fallHtml5 For Jjugccc2009fall
Html5 For Jjugccc2009fall
 
Html5 drupal7 with mandakini kumari(1)
Html5 drupal7 with mandakini kumari(1)Html5 drupal7 with mandakini kumari(1)
Html5 drupal7 with mandakini kumari(1)
 
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, the new buzzword
HTML5, the new buzzwordHTML5, the new buzzword
HTML5, the new buzzword
 
The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5
 

Mehr von Marcelio Leal

Startup Developer Mindset
Startup Developer MindsetStartup Developer Mindset
Startup Developer MindsetMarcelio Leal
 
Startup Developer Mindset
Startup Developer MindsetStartup Developer Mindset
Startup Developer MindsetMarcelio Leal
 
Uma Visão Tendenciosa do Agile Brazil 2013
Uma Visão Tendenciosa do Agile Brazil 2013Uma Visão Tendenciosa do Agile Brazil 2013
Uma Visão Tendenciosa do Agile Brazil 2013Marcelio Leal
 
SiteApps - API Hack Day SP 2013
SiteApps - API Hack Day SP 2013SiteApps - API Hack Day SP 2013
SiteApps - API Hack Day SP 2013Marcelio Leal
 
Uma Abordagem Semiautomática de Rastreabilidade de Software
Uma Abordagem Semiautomática de Rastreabilidade de SoftwareUma Abordagem Semiautomática de Rastreabilidade de Software
Uma Abordagem Semiautomática de Rastreabilidade de SoftwareMarcelio Leal
 
Grupo de Usuários PHP Pai d'Égua
Grupo de Usuários PHP Pai d'ÉguaGrupo de Usuários PHP Pai d'Égua
Grupo de Usuários PHP Pai d'ÉguaMarcelio Leal
 
Startups - Cenário, Problemas e Soluções.
Startups - Cenário, Problemas e Soluções.Startups - Cenário, Problemas e Soluções.
Startups - Cenário, Problemas e Soluções.Marcelio Leal
 
Duro de Errar 5.0 - Tratamento, Controle e Configuração de Erros em PHP 5.
Duro de Errar 5.0 - Tratamento, Controle e Configuração de Erros em PHP 5.Duro de Errar 5.0 - Tratamento, Controle e Configuração de Erros em PHP 5.
Duro de Errar 5.0 - Tratamento, Controle e Configuração de Erros em PHP 5.Marcelio Leal
 
Palestra Software Livre - Contexto e Oportunidades
Palestra Software Livre - Contexto e OportunidadesPalestra Software Livre - Contexto e Oportunidades
Palestra Software Livre - Contexto e OportunidadesMarcelio Leal
 

Mehr von Marcelio Leal (13)

Startup Developer Mindset
Startup Developer MindsetStartup Developer Mindset
Startup Developer Mindset
 
Startup Developer Mindset
Startup Developer MindsetStartup Developer Mindset
Startup Developer Mindset
 
Overview TI
Overview TIOverview TI
Overview TI
 
Lean Stack
Lean StackLean Stack
Lean Stack
 
Uma Visão Tendenciosa do Agile Brazil 2013
Uma Visão Tendenciosa do Agile Brazil 2013Uma Visão Tendenciosa do Agile Brazil 2013
Uma Visão Tendenciosa do Agile Brazil 2013
 
SiteApps - API Hack Day SP 2013
SiteApps - API Hack Day SP 2013SiteApps - API Hack Day SP 2013
SiteApps - API Hack Day SP 2013
 
Lean Actions
Lean ActionsLean Actions
Lean Actions
 
Pitch presenteie
Pitch presenteiePitch presenteie
Pitch presenteie
 
Uma Abordagem Semiautomática de Rastreabilidade de Software
Uma Abordagem Semiautomática de Rastreabilidade de SoftwareUma Abordagem Semiautomática de Rastreabilidade de Software
Uma Abordagem Semiautomática de Rastreabilidade de Software
 
Grupo de Usuários PHP Pai d'Égua
Grupo de Usuários PHP Pai d'ÉguaGrupo de Usuários PHP Pai d'Égua
Grupo de Usuários PHP Pai d'Égua
 
Startups - Cenário, Problemas e Soluções.
Startups - Cenário, Problemas e Soluções.Startups - Cenário, Problemas e Soluções.
Startups - Cenário, Problemas e Soluções.
 
Duro de Errar 5.0 - Tratamento, Controle e Configuração de Erros em PHP 5.
Duro de Errar 5.0 - Tratamento, Controle e Configuração de Erros em PHP 5.Duro de Errar 5.0 - Tratamento, Controle e Configuração de Erros em PHP 5.
Duro de Errar 5.0 - Tratamento, Controle e Configuração de Erros em PHP 5.
 
Palestra Software Livre - Contexto e Oportunidades
Palestra Software Livre - Contexto e OportunidadesPalestra Software Livre - Contexto e Oportunidades
Palestra Software Livre - Contexto e Oportunidades
 

Kürzlich hochgeladen

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
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...Martijn de Jong
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
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 WorkerThousandEyes
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 

Kürzlich hochgeladen (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
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...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

HTML 5 - Overview

  • 1. HTML 5 Overview Marcelio Leal - @marcelioleal
  • 2. Marcelio Leal @marcelioleal - For twitters http://marcelioleal.com - For other things Software Engineer Chief at @onsee PHP Pai d’Égua User Group cofounder 10 anos de experiência em Webdev
  • 3. “PQP, finalmente “chegou” o HTML 5 !” Eu, depois que vi a primeira vez as coisas do HTML 5...
  • 4. HTML Hipertext Markup Language Fácil Simples Intuitiva Extensível Rápida
  • 5. What’s HTML5 ? A nova versão do HTML Sinônimo de coisa #estaile na Web.
  • 6. Agentes • Web Hipertext Application Technology Working Group (WHATWG) - whatwg.com • Criado em 2004 - Contribuidores individuais, Apple, Monzilla, Google and Opera • Aberto para contribuições • Demos, APIs, Contribuições ligadas ao HTML • World Wide Web Consortium (W3C) • Draft do HTML5 em 2008
  • 7. Timeline - The Origin 1991 - Tags(HTML) mensionadas 1993 - Draft HTML 1995 - HTML 2 1997 - HTML 3.2 (Jan), HTML 4 (Dec) - W3C 1999 - HTML 4.1 - recomendação W3C #gambi ? 2000 - XHTML 1.0
  • 8. Timeline 2000 Dreamweaver faz a festa 2001 - XHTML 1.1 2001/2007 -W3C Sleeps Dreamweaver #farelo 2004 - WHATWG starts Project Web Web Applications (HTML5 +-) 2.0 2008 - Draft HTML5 by W3C 2009 - W3C anuncia fim do grupo do XHTML
  • 10. Simplificações Doctype <!DOCTYPE html> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Type não necessário <script src=”jacarato.js”></script> <link href=”jacapaladium.js”></link>
  • 11. Novidades ✓article ✓footer ✓aside ✓header ✓audio ✓mark ✓canvas ✓meter ✓command ✓nav ✓datagrid ✓output ✓datalist ✓progress ✓datatemplate ✓source ✓event-source ✓time ✓figure ✓video
  • 12. #farelo ✓acronym ✓applet ✓basefont ✓dir ✓frame ✓font ✓frameset ✓s ✓noframes ✓strike ✓tt ✓u ✓big ✓center
  • 16. Áudio e Vídeo Audio element (OGG) : SRC, AUTOBUFFER, CONTROLS, LOOP, AUTOPLAY <audio src="gugu.ogg" autoplay controls></audio> Video element (OGV, MP4): SRC, CONTROLS, LOOP, AUTOPLAY <video src=”tiririca.ogv” loop autoplay />
  • 17. Old way <object classid="clsid:d27cdb6e- ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http:// download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=6,0,40,0"> <param name="allowFullScreen" value="true" /> <param name="allowscriptaccess" value="always" /> <param name="src" value="http://www.youtube.com/v/ oHg5SJYRHA0&hl=en&fs=1&" /> <param name="allowfullscreen" value="true" /> <embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/ v/oHg5SJYRHA0&hl=en&fs=1&" allowscriptaccess="always" allowfullscreen="true"> </embed> </object>
  • 18. New way <video width="640"  height="360" src="http://www.youtube.com/demo/google_main.mp4"   controls autobuffer> <p> Try this page in Safari  4! Or you can <a  href="http://www.youtube.com/demo/ google_main.mp4">download the  video</a> instead.</p>   </video>
  • 20. Videos Format • Ogg Theora / Voribs • Firefox 3.5 + / Chrome / Opera • MPEG-4 H.264/ACC • Safari / Chrome / Opera
  • 22.
  • 24. CSS 3 • Em desenvolvimento • Está sendo desenvolvido em sub-especificações • tranformation, animation, transition • Esse caras ficam brincando com isso: • http://www.zurb.com/playground
  • 25.
  • 26.
  • 27.
  • 28. Form <form action="formdemo.php" method="post"> <label for="name">Name:</label> <input type="text" name="name" required placeholder="Name" /> <label for="email">Email:</label> <input type="email" name="email" required placeholder="email@example.com" /> <label for="website">Website:</label> <input type="url" name="website" required placeholder="http://www.example.com" /> <label for="number">Number:</label> <input type="number" name="number" min="0" max="10" step="2" required placeholder="Even num < 10"> <label for="range">Range:</label> <input type="range" name="range" min="0" max="10" step="2" /> ... http://www.bradshawenterprises.com/tests/formdemo.php
  • 29. CSS /* The interesting bit */ input:not(:focus), textarea:not(:focus) { opacity:0.5; } input:required, textarea:required { background:url("/tests/formdemo/ asterisk_orange.png") no-repeat 280px 7px; } input:valid, textarea:valid { background:url("/tests/formdemo/tick.png") no-repeat 280px 5px; } input:focus:invalid, textarea:focus:invalid { background:url("/tests/formdemo/ cancel.png") no-repeat 280px 7px; } input[type=submit] { padding:10px; background:none; opacity:1.0; }
  • 30. Input - New Types • search • month • tel • week • url • time • email • datetime-local • datetime • number • date • range • color
  • 34. Canvas <canvas id="myCanvas" width="300" height="150"> Fallback content, in case the browser does not support Canvas. </canvas> <script type="text/javascript"><!-- window.addEventListener('load', function () { // Get the canvas element. var elem = document.getElementById('myCanvas'); if (!elem || !elem.getContext) { return; } // Get the canvas 2d context. var context = elem.getContext('2d'); if (!context) { return; } // Now you are done! Let's draw a blue rectangle. context.fillStyle = '#00f'; context.fillRect(0, 0, 150, 100); }, false); // --></script> http://dev.opera.com/articles/view/html-5-canvas-the-basics/
  • 36. “The world is moving to HTML5” Steve Jobs
  • 37. “I had no idea there was so much HTML5 already in play” Tim O’Reilly
  • 38. “The Web has not seen this level of transformation, this level of aceleration, in the past 10 years... we’re betting big on HTML5” Vic Gundotra, Google
  • 39. “The Web has not seen this level of transformation, this level of aceleration, in the past 10 years... we’re betting big on HTML5” Vic Gundotra, Google
  • 40. http://ishtml5readyyet.com/ http://caniuse.com/
  • 41. Referências • WHATWG - HTML 5 - http://www.whatwg.org/specs/ • IETF - WebSocket http://tools.ietf.org/html/draft-hixie- thewebsocketprotocol-76 • W3C - HTML5 - http://dev.w3.org/html5/spec/Overview.html • Blog - Vídeo/HTML5 - http://paulrouget.com/ • http://people.mozilla.com/~prouget/demos/ DynamicContentInjection/play.xhtml • http://woorkup.com/wp-content/uploads/2009/12/HTML5-Visual- Cheat-Sheet.pdf • CSS 3 -http://www.zurb.com/playground/ • http://www.slideshare.net/nathansmith/echo-html5 • Tag de Vídeo - http://html5doctor.com/the-video-element/
  • 42.
  • 43. Imagens • http://www.flickr.com/photos/dricker94/4286899940/sizes/m/in/photostream/ • http://www.flickr.com/photos/simax/3390895249/sizes/m/in/photostream/ • http://www.flickr.com/photos/wwworks/3196112134/sizes/m/in/photostream/ • http://c.universalscraps.com/files/en/cool/cool_003.jpg • http://fc05.deviantart.net/fs39/f/2008/357/8/b/Fractals_Are_Cool_by_Clarence_Garside.jpg • http://3.bp.blogspot.com/_8Zmrc2HRYvU/SatKYx3WOnI/AAAAAAAAATE/bdL8D3UYclc/s400/carneirinho.jpg • http://1.bp.blogspot.com/_WA6vC0pgjAY/Sb9BVmeN_xI/AAAAAAAAADc/rGkB897g_TE/s320/149033.jpg • http://baiano.files.wordpress.com/2007/10/rene_higuita.jpg • http://www.flickr.com/photos/svenwerk/541434909/sizes/m/in/photostream/ • http://www.flickr.com/photos/12905355@N05/4301184191/ • http://www.flickr.com/photos/improbulus/311039122/sizes/m/in/photostream/ • http://www.flickr.com/photos/niallkennedy/4166725591/sizes/m/in/photostream/ • http://sleepzine.com/wp-content/uploads/2007/03/google-girl-780952.jpg
  • 44. Thank You Marcelio Leal @marcelioleal marcelioleal.com marcelioleal@gmail.com @onsee @phppaidegua