SlideShare ist ein Scribd-Unternehmen logo
1 von 24
NOVAS TAGS NA PRÁTICA!

Rômulo Reis de Oliveira
http://about.me/romuloreis
                             devinpf.or
What is HTML5?




HTML5 will be the new standard for HTML.
How Did HTML5 Get Started?

HTML5 is a cooperation between the …
 World Wide Web Consortium (W3C)
 Web Hypertext Application Technology Working
  Group (WHATWG).

*WHATWG (2004): Apple, Mozilla, Opera.
Some rules for HTML5 were
established:

   New features should be based on HTML, CSS,
    DOM, and JavaScript
   Reduce the need for external plugins (like Flash)
   Better error handling
   More markup to replace scripting
   HTML5 should be device independent
   The development process should be visible to the
    public
HTML5 Multimedia
   Adeus Flash e Plugins!

   HTML5 <video>
   HTML5 <audio>
HTML5 Multimedia
HTML5 Multimedia
   <!DOCTYPE html>
   <html>
     <body>

    <video width="320" height="240" controls autoplay>
     <source src="movie.mp4" type="video/mp4">
     <source src="movie.ogg" type="video/ogg">
     <source src="movie.webm" type="video/webm">
      Your browser does not support the video tag.
    </video>

     </body>
   </html>
HTML5 Canvas


<audio controls>
 <source src=“music.ogg" type="audio/ogg">
 <source src=“music.mp3" type="audio/mpeg">
not supported.
</audio>
HTML5 Canvas
   <!DOCTYPE html>
   <html>
   <body>



   <canvas id="myCanvas" width="200" height="100"
    style="border:1px solid #000000;">
   Your browser does not support the HTML5 canvas
    tag.
   </canvas>

   </body>
   </html>
HTML5 SVG
   <!DOCTYPE html>
   <html>
   <body>


   <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
    height="190">
     <polygon points="100,10 40,180 190,60 10,60
    160,180"
     style="fill:lime;stroke:purple;stroke-width:5;fill-
    rule:evenodd;">
   </svg>

   </body>
   </html>
HTML5 Drag and Drop

   <div id="div1" ondrop="drop(event)"
    ondragover="allowDrop(event)"></div>

   <img id="drag1" src="logo.png" draggable="true"
    ondragstart="drag(event)" width="336" height="69">
HTML5 Geolocation

if (navigator.geolocation)
     {

  navigator.geolocation.getCurrentPosition(showPositi
  on);
    }
else{
   x.innerHTML="Geolocation is not supported";
 }
HTML5 Geolocation

function showPosition(position) {
 x.innerHTML="Latitude: " + position.coords.latitude
  +
 "<br>Longitude: " + position.coords.longitude;
}
HTML5 Geolocation

function showPosition(position)
 {
 var latlon=position.coords.latitude+","+position.coords.longitude;

 var
img_url="http://maps.googleapis.com/maps/api/staticmap?center="
 +latlon+"&zoom=14&size=400x300&sensor=false";

document.getElementById("mapholder").innerHTML="<img
src='"+img_url+"'>";
}
HTML5 Input Types

   Color
   Datetime
   Time
   Date
   Email
   Number
   Range
   Search
   Tell
HTML5 New Form Attributes
   autocomplete
   autofocus
   form
   formaction
   formenctype
   formmethod
   formnovalidate
   formtarget
   height and width
   list
   min and max
   multiple
   pattern (regexp)
   placeholder
   required
   step
Autocomplete

   <form action="doit.php" autocomplete="on">

     First name:<input type="text" name="fname">

     Last name: <input type="text" name="lname">

     E-mail: <input type="email" name="email"
    autocomplete="off">

   </form>
Autofocus


   Name:<input type="text" name="name" autofocus>
Placeholder

   <input type="text" name="fname" placeholder="First
    name">

   <input type="text" name="lname" placeholder="Last
    name">
Others
   Web Workers
   Web Storage
   Application Cache
Referências
   http://www.w3schools.com/html/html5_intro.asp

Weitere ähnliche Inhalte

Was ist angesagt?

HTML5: Markup Evolved
HTML5: Markup EvolvedHTML5: Markup Evolved
HTML5: Markup EvolvedBilly Hylton
 
Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3
Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3
Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3shane becker
 
High Performance Images
High Performance ImagesHigh Performance Images
High Performance ImagesWalter Ebert
 
Html5 - short intro
Html5 - short introHtml5 - short intro
Html5 - short introjeiseman
 
Web Components: Web back to future.
Web Components: Web back to future.Web Components: Web back to future.
Web Components: Web back to future.GlobalLogic Ukraine
 
Jager planetaire nevels
Jager planetaire nevelsJager planetaire nevels
Jager planetaire nevelspaskar
 
The Big Picture: Responsive Images in Action #devcon13
The Big Picture: Responsive Images in Action #devcon13The Big Picture: Responsive Images in Action #devcon13
The Big Picture: Responsive Images in Action #devcon13Matthias Lau
 
HTML5 and CSS3 Shizzle
HTML5 and CSS3 ShizzleHTML5 and CSS3 Shizzle
HTML5 and CSS3 ShizzleChris Mills
 
20111014 mu me_html5
20111014 mu me_html520111014 mu me_html5
20111014 mu me_html5Erik Duval
 
Html de la linea de tiempo
Html de la linea de tiempoHtml de la linea de tiempo
Html de la linea de tiempoMaria Belen Oro
 
Big Audience at Scale — Spark and Big Data
Big Audience at Scale — Spark and Big DataBig Audience at Scale — Spark and Big Data
Big Audience at Scale — Spark and Big DataGlobalLogic Ukraine
 
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
 
No Feature Solutions with SharePoint
No Feature Solutions with SharePointNo Feature Solutions with SharePoint
No Feature Solutions with SharePointmikehuguet
 
Introduction to web compoents
Introduction to web compoentsIntroduction to web compoents
Introduction to web compoentsRan Wahle
 

Was ist angesagt? (20)

Responsive design
Responsive designResponsive design
Responsive design
 
Html 5 pres
Html 5 presHtml 5 pres
Html 5 pres
 
HTML5: Markup Evolved
HTML5: Markup EvolvedHTML5: Markup Evolved
HTML5: Markup Evolved
 
Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3
Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3
Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3
 
High Performance Images
High Performance ImagesHigh Performance Images
High Performance Images
 
Html5 - short intro
Html5 - short introHtml5 - short intro
Html5 - short intro
 
Slideshare
SlideshareSlideshare
Slideshare
 
Web Components: Web back to future.
Web Components: Web back to future.Web Components: Web back to future.
Web Components: Web back to future.
 
Jager planetaire nevels
Jager planetaire nevelsJager planetaire nevels
Jager planetaire nevels
 
Jager
JagerJager
Jager
 
The Big Picture: Responsive Images in Action #devcon13
The Big Picture: Responsive Images in Action #devcon13The Big Picture: Responsive Images in Action #devcon13
The Big Picture: Responsive Images in Action #devcon13
 
HTML5 and CSS3 Shizzle
HTML5 and CSS3 ShizzleHTML5 and CSS3 Shizzle
HTML5 and CSS3 Shizzle
 
HTML5
HTML5HTML5
HTML5
 
Test-proof CSS
Test-proof CSSTest-proof CSS
Test-proof CSS
 
20111014 mu me_html5
20111014 mu me_html520111014 mu me_html5
20111014 mu me_html5
 
Html de la linea de tiempo
Html de la linea de tiempoHtml de la linea de tiempo
Html de la linea de tiempo
 
Big Audience at Scale — Spark and Big Data
Big Audience at Scale — Spark and Big DataBig Audience at Scale — Spark and Big Data
Big Audience at Scale — Spark and Big Data
 
Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?
 
No Feature Solutions with SharePoint
No Feature Solutions with SharePointNo Feature Solutions with SharePoint
No Feature Solutions with SharePoint
 
Introduction to web compoents
Introduction to web compoentsIntroduction to web compoents
Introduction to web compoents
 

Andere mochten auch

Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlvikasgaur31
 
Basic html5 and javascript
Basic html5 and javascriptBasic html5 and javascript
Basic html5 and javascriptwendy017
 
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 20173 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017Drift
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheLeslie Samuel
 

Andere mochten auch (9)

Android - PET Talks
Android - PET TalksAndroid - PET Talks
Android - PET Talks
 
Html5 Basics
Html5 BasicsHtml5 Basics
Html5 Basics
 
HTML5 Basic
HTML5 BasicHTML5 Basic
HTML5 Basic
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Up to Speed on HTML 5 and CSS 3
Up to Speed on HTML 5 and CSS 3Up to Speed on HTML 5 and CSS 3
Up to Speed on HTML 5 and CSS 3
 
Basic html5 and javascript
Basic html5 and javascriptBasic html5 and javascript
Basic html5 and javascript
 
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 20173 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
 

Ähnlich wie HTML5 Multimedia and Form Features

Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5Gil Fink
 
New Elements & Features in HTML5
New Elements & Features in HTML5New Elements & Features in HTML5
New Elements & Features in HTML5Jamshid Hashimi
 
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
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Sadaaki HIRAI
 
HTML5 Bootcamp: Essential HTML, CSS, & JavaScript
HTML5 Bootcamp: Essential HTML, CSS, & JavaScriptHTML5 Bootcamp: Essential HTML, CSS, & JavaScript
HTML5 Bootcamp: Essential HTML, CSS, & JavaScriptTodd Anglin
 
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
 
What you need to know bout html5
What you need to know bout html5What you need to know bout html5
What you need to know bout html5Kevin DeRudder
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebGeorge Kanellopoulos
 
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
 
Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)Adam Lu
 
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
 
Wordcamp Thessaloniki 2011 The Nextweb
Wordcamp Thessaloniki 2011 The NextwebWordcamp Thessaloniki 2011 The Nextweb
Wordcamp Thessaloniki 2011 The NextwebGeorge Kanellopoulos
 

Ähnlich wie HTML5 Multimedia and Form Features (20)

HTML 5 - Overview
HTML 5 - OverviewHTML 5 - Overview
HTML 5 - Overview
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
New Elements & Features in HTML5
New Elements & Features in HTML5New Elements & Features in HTML5
New Elements & Features in HTML5
 
Web Apps
Web AppsWeb Apps
Web Apps
 
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 Overview
Html5 OverviewHtml5 Overview
Html5 Overview
 
Introduccion a HTML5
Introduccion a HTML5Introduccion a HTML5
Introduccion a HTML5
 
html5
html5html5
html5
 
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
 
HTML5 Bootcamp: Essential HTML, CSS, & JavaScript
HTML5 Bootcamp: Essential HTML, CSS, & JavaScriptHTML5 Bootcamp: Essential HTML, CSS, & JavaScript
HTML5 Bootcamp: Essential HTML, CSS, & JavaScript
 
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
 
What you need to know bout html5
What you need to know bout html5What you need to know bout html5
What you need to know bout html5
 
Html 5
Html 5Html 5
Html 5
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWeb
 
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....
 
Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)
 
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を考える
 
Wordcamp Thessaloniki 2011 The Nextweb
Wordcamp Thessaloniki 2011 The NextwebWordcamp Thessaloniki 2011 The Nextweb
Wordcamp Thessaloniki 2011 The Nextweb
 

Kürzlich hochgeladen

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 

HTML5 Multimedia and Form Features

  • 1.
  • 2. NOVAS TAGS NA PRÁTICA! Rômulo Reis de Oliveira http://about.me/romuloreis devinpf.or
  • 3. What is HTML5? HTML5 will be the new standard for HTML.
  • 4. How Did HTML5 Get Started? HTML5 is a cooperation between the …  World Wide Web Consortium (W3C)  Web Hypertext Application Technology Working Group (WHATWG). *WHATWG (2004): Apple, Mozilla, Opera.
  • 5. Some rules for HTML5 were established:  New features should be based on HTML, CSS, DOM, and JavaScript  Reduce the need for external plugins (like Flash)  Better error handling  More markup to replace scripting  HTML5 should be device independent  The development process should be visible to the public
  • 6.
  • 7. HTML5 Multimedia  Adeus Flash e Plugins!  HTML5 <video>  HTML5 <audio>
  • 9. HTML5 Multimedia  <!DOCTYPE html>  <html>  <body>  <video width="320" height="240" controls autoplay>  <source src="movie.mp4" type="video/mp4">  <source src="movie.ogg" type="video/ogg">  <source src="movie.webm" type="video/webm">  Your browser does not support the video tag.  </video>  </body>  </html>
  • 10. HTML5 Canvas <audio controls> <source src=“music.ogg" type="audio/ogg"> <source src=“music.mp3" type="audio/mpeg"> not supported. </audio>
  • 11. HTML5 Canvas  <!DOCTYPE html>  <html>  <body>  <canvas id="myCanvas" width="200" height="100" style="border:1px solid #000000;">  Your browser does not support the HTML5 canvas tag.  </canvas>  </body>  </html>
  • 12. HTML5 SVG  <!DOCTYPE html>  <html>  <body>  <svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="190">  <polygon points="100,10 40,180 190,60 10,60 160,180"  style="fill:lime;stroke:purple;stroke-width:5;fill- rule:evenodd;">  </svg>   </body>  </html>
  • 13.
  • 14. HTML5 Drag and Drop  <div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)"></div>  <img id="drag1" src="logo.png" draggable="true" ondragstart="drag(event)" width="336" height="69">
  • 15. HTML5 Geolocation if (navigator.geolocation)  {  navigator.geolocation.getCurrentPosition(showPositi on);  } else{  x.innerHTML="Geolocation is not supported";  }
  • 16. HTML5 Geolocation function showPosition(position) {  x.innerHTML="Latitude: " + position.coords.latitude +  "<br>Longitude: " + position.coords.longitude; }
  • 17. HTML5 Geolocation function showPosition(position) { var latlon=position.coords.latitude+","+position.coords.longitude; var img_url="http://maps.googleapis.com/maps/api/staticmap?center=" +latlon+"&zoom=14&size=400x300&sensor=false"; document.getElementById("mapholder").innerHTML="<img src='"+img_url+"'>"; }
  • 18. HTML5 Input Types  Color  Datetime  Time  Date  Email  Number  Range  Search  Tell
  • 19. HTML5 New Form Attributes  autocomplete  autofocus  form  formaction  formenctype  formmethod  formnovalidate  formtarget  height and width  list  min and max  multiple  pattern (regexp)  placeholder  required  step
  • 20. Autocomplete  <form action="doit.php" autocomplete="on">  First name:<input type="text" name="fname">  Last name: <input type="text" name="lname">  E-mail: <input type="email" name="email" autocomplete="off">  </form>
  • 21. Autofocus  Name:<input type="text" name="name" autofocus>
  • 22. Placeholder  <input type="text" name="fname" placeholder="First name">  <input type="text" name="lname" placeholder="Last name">
  • 23. Others  Web Workers  Web Storage  Application Cache
  • 24. Referências  http://www.w3schools.com/html/html5_intro.asp