SlideShare a Scribd company logo
Html5 - Novas Tags na Prática!
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.

Recommended for you

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

Presented at the Pivotal Labs hack day after GoGaRuCo 2010 to about 20 people, mostly ruby developers. In San Francisco, CA. 09/19/2010 It ran a little long, 15 to 20 minutes, but people told me to keep going. It was not recorded at all. Hire me to punch up your slides, veganstraightedge@gmail.com / @veganstraightedge : twitter.

lightening talkhtml5css3
High Performance Images
High Performance ImagesHigh Performance Images
High Performance Images

The document discusses various image formats (GIF, PNG, JPEG), optimization tools, responsive image techniques (srcset, picture), lazy loading, icon fonts versus SVG sprites, and video optimization. It provides information on each topic and examples of how to implement the different techniques for optimizing images and other assets for faster page loads.

webperformanceimages
Html5 - short intro
Html5 - short introHtml5 - short intro
Html5 - short intro

This document provides an overview of HTML5, including its history and development process. It describes new HTML5 semantic elements that improve page structure and accessibility. It also outlines several new HTML5 features such as canvas, video, audio, geolocation, local storage, and offline web applications. The document recommends resources for further reading on HTML5.

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 - Novas Tags na Prática!
HTML5 Multimedia
   Adeus Flash e Plugins!

   HTML5 <video>
   HTML5 <audio>
HTML5 Multimedia

Recommended for you

Slideshare
SlideshareSlideshare
Slideshare

This document embeds a slideshow widget from slideshare.net that displays presentations tagged with "Peru-Comando-Democracia-Madrid". The widget allows viewing of multiple slideshow presentations related to that tag in a playlist format. It includes options to view the presentations in full screen and links to get more information about the slideshare widget and playlists.

Web Components: Web back to future.
Web Components: Web back to future.Web Components: Web back to future.
Web Components: Web back to future.

Meet web components - a new draft spec proposed by Google and used to write reusable and encapsulated widgets that can be attached to DOM isolated. by Anna Khabibullina, Co-Founder at DA-14 for Kharkiv JS&UI Meetup #1

javascriptjskharkiv
Jager planetaire nevels
Jager planetaire nevelsJager planetaire nevels
Jager planetaire nevels

The document appears to be code for embedding a SlideShare widget or playlist on a website. It references tags and slideshows uploaded by a user, and provides instructions for users to get their own SlideShare playlist.

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>

Recommended for you

Jager
JagerJager
Jager

This document does not contain any text content to summarize. The document includes embedded code for a slideshow presentation, but provides no accompanying description, captions, or other summarizable text.

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

This document discusses techniques for optimizing images for responsive web design. It begins by noting that large images can slow down sites on small viewports. It then covers several approaches to address this issue, including using CSS backgrounds, SVG images, responsive image services, and the picture element with srcset. It emphasizes using the simplest possible solution for each situation, with progressive enhancement as needed, and outlines processes for automating image optimization with tools like Grunt.

picturefillrwd imagesresponsive
HTML5 and CSS3 Shizzle
HTML5 and CSS3 ShizzleHTML5 and CSS3 Shizzle
HTML5 and CSS3 Shizzle

I gave this presentation at the 2010 Scotch on the Rocks conference. It features a brief explanation of why HTML5 and CSS3 are necessary, and then goes on to cover most of the cool new features of HTML5 and CSS3 that are supported across most browsers at the time of publication., including &lt;video>, &lt;canvas>, HTML5 forms, the new HTML5 elements, box-shadow, text-shadow, web fonts, media queries, and more. Companion code examples are available at http://people.opera.com/cmills/HTML5_CSS3_examples.zip

transitionstext-shadowhtml5
Html5 - Novas Tags na Prática!
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;
}

Recommended for you

HTML5
HTML5HTML5
HTML5

This document provides an overview of HTML5 and what's new in the latest version. It discusses new semantic elements like <header>, <nav>, and <article> that improve document outlining. It also covers new multimedia features like native audio and video playback without Flash, as well as 2D/3D graphics using <canvas>. Other additions include new form controls, multiple file uploading, and geolocation. While HTML5 brings many new features, it is an ongoing evolution of HTML rather than a completely new language.

podcamphfxweb standardsweb design
Test-proof CSS
Test-proof CSSTest-proof CSS
Test-proof CSS

This document discusses different tools for testing CSS including CSSLint for syntax checking, ResembleJS for regression testing layouts, UnCSS for removing unused selectors, and StyleStats for analyzing CSS statistics. It explains how each tool works and recommends which tools to use based on the size and complexity of projects, considering objectives, budgets, and development priorities. CSSLint and UnCSS are recommended for smaller projects while CSSLint, ResembleJS, UnCSS, and StyleStats are suggested for larger, more complex projects.

cssnodejsfront-end
20111014 mu me_html5
20111014 mu me_html520111014 mu me_html5
20111014 mu me_html5

The document discusses HTML5 multimedia capabilities including canvas, video, audio, and local storage. It provides code examples of drawing on a canvas using JavaScript, playing video and audio, and using local storage to create a simple counter. The document recommends resources for learning more about HTML5 and thanks others for their contributions. It promotes HTML5 as a way to add multimedia without plugins like Flash.

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>

Recommended for you

Html de la linea de tiempo
Html de la linea de tiempoHtml de la linea de tiempo
Html de la linea de tiempo

The document contains an embedded widget that displays a video. The video is 640x400 pixels and has audio muted. Users are allowed full script access and the ability to view it in full screen mode. The widget is loaded from an external source.

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

These slides demonstrate how to count large-scale online audiences and their parameters in real time with Apache Spark and some Google magic. This presentation by Borys Trofymov (Software Architect, Sigma Software) was delivered at GlobalLogic Mykolaiv Java Conference on June 11, 2016.

big datagoogle adshyperlog
Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?

This document discusses best practices for optimizing images on websites. It covers image formats like JPG, PNG and SVG and techniques such as lazy loading, responsive images using srcset, and optimizing tools. It also discusses alternatives to icon fonts like using SVG sprites. The overall message is on improving page performance by choosing the right image format and implementing optimization strategies.

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

Recommended for you

No Feature Solutions with SharePoint
No Feature Solutions with SharePointNo Feature Solutions with SharePoint
No Feature Solutions with SharePoint

These are my slides from my presentation for the Baton Rouge and New Orleans SharePoint user group meetings.

bpossharepointjquery
Introduction to web compoents
Introduction to web compoentsIntroduction to web compoents
Introduction to web compoents

Intro to HTML5 WebComponents set of standards Session delivered at Sela Developers Practice, June 2015

webhtml5javascript
Android - PET Talks
Android - PET TalksAndroid - PET Talks
Android - PET Talks

O documento apresenta uma introdução sobre a plataforma Android, sua história e versões. Detalha as ferramentas Android SDK e Android Studio, o ambiente de desenvolvimento integrado oficial para criação de aplicativos para Android. Fornece também referências para aprendizado em App Inventor e Android Studio.

android

More Related Content

What's hot

Responsive design
Responsive designResponsive design
Responsive design
John Doxaras
 
Html 5 pres
Html 5 presHtml 5 pres
Html 5 pres
Satbir Singh
 
HTML5: Markup Evolved
HTML5: Markup EvolvedHTML5: Markup Evolved
HTML5: Markup Evolved
Billy 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 & CSS3
shane becker
 
High Performance Images
High Performance ImagesHigh Performance Images
High Performance Images
Walter Ebert
 
Html5 - short intro
Html5 - short introHtml5 - short intro
Html5 - short intro
jeiseman
 
Slideshare
SlideshareSlideshare
Slideshare
nelsonvalentin
 
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 nevels
paskar
 
Jager
JagerJager
Jager
paskar
 
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
Matthias Lau
 
HTML5 and CSS3 Shizzle
HTML5 and CSS3 ShizzleHTML5 and CSS3 Shizzle
HTML5 and CSS3 Shizzle
Chris Mills
 
HTML5
HTML5HTML5
Test-proof CSS
Test-proof CSSTest-proof CSS
Test-proof CSS
Vittorio Vittori
 
20111014 mu me_html5
20111014 mu me_html520111014 mu me_html5
20111014 mu me_html5
Erik Duval
 
Html de la linea de tiempo
Html de la linea de tiempoHtml de la linea de tiempo
Html de la linea de tiempo
Maria 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 Data
GlobalLogic 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 SharePoint
mikehuguet
 
Introduction to web compoents
Introduction to web compoentsIntroduction to web compoents
Introduction to web compoents
Ran Wahle
 

What's hot (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
 

Viewers also liked

Android - PET Talks
Android - PET TalksAndroid - PET Talks
Android - PET Talks
Rômulo Reis de Oliveira
 
Html5 Basics
Html5 BasicsHtml5 Basics
Html5 Basics
Pankaj Bajaj
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
vikasgaur31
 
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
M. Jackson Wilkinson
 
Basic html5 and javascript
Basic html5 and javascriptBasic html5 and javascript
Basic html5 and javascript
wendy017
 
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
Drift
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
Natasha Murashev
 
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
Leslie Samuel
 

Viewers also liked (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
 

Similar to Html5 - Novas Tags na Prática!

HTML 5 - Overview
HTML 5 - OverviewHTML 5 - Overview
HTML 5 - Overview
Marcelio Leal
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
Gil Fink
 
New Elements & Features in HTML5
New Elements & Features in HTML5New Elements & Features in HTML5
New Elements & Features in HTML5
Jamshid Hashimi
 
Web Apps
Web AppsWeb Apps
Web Apps
Tim Wray
 
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
 
Html5 Overview
Html5 OverviewHtml5 Overview
Html5 Overview
Daniel Arndt Alves
 
Introduccion a HTML5
Introduccion a HTML5Introduccion a HTML5
Introduccion a HTML5
Pablo Garaizar
 
html5
html5html5
Familiar HTML5 - 事例と���ンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Sadaaki HIRAI
 
Word camp nextweb
Word camp nextwebWord camp nextweb
Word camp nextweb
Panagiotis Grigoropoulos
 
Word camp nextweb
Word camp nextwebWord 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
Todd 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 Development
Tilak 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 html5
Kevin DeRudder
 
Html 5
Html 5Html 5
Html 5
Nguyen Quang
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWeb
George 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 Nextweb
George Kanellopoulos
 

Similar to Html5 - Novas Tags na Prática! (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
 

Recently uploaded

[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
Kief Morris
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
Yevgen Sysoyev
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
Matthew Sinclair
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
Larry Smarr
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Bert Blevins
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
SynapseIndia
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
Andrey Yasko
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
RaminGhanbari2
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
Emerging Tech
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
ScyllaDB
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
Matthew Sinclair
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
Bert Blevins
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
welrejdoall
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
jackson110191
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Bert Blevins
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
Mark Billinghurst
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
shanthidl1
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Erasmo Purificato
 

Recently uploaded (20)

[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
 

Html5 - Novas Tags na Prática!

  • 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
  • 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>
  • 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