SlideShare a Scribd company logo
1 of 63
Download to read offline
HTML5
HISTORY

           1981   Tim Berners Lee proposes an
                  internet-based hypertext system



proposal


 1981
HISTORY

           1989    Tim Berners Lee writes a memo
                   proposing an internet-based
                   hypertext system


proposal    memo


 1981       1989
HISTORY

           1991             HTML tags first mentioned
                            in PUBLIC!


                    gone
proposal   memo    public


 1981       1989   1991
HISTORY

        1993                1.0




                    gone
proposal   memo    public    1.0


 1981       1989   1991     1993
HISTORY

        1995                2.0




                    gone
proposal   memo    public    1.0   2.0


 1981       1989   1991     1993   1995


                                     1996

                                     CSS 1.0
HISTORY

           1997             4.0




                    gone                    W3C
proposal    memo   public    1.0   2.0      4.0


 1981       1989   1991     1993   1995     1997



                                         1996   1998

                                     CSS 1.0    CSS 1.0
HISTORY

    2000                    XHTML 1.0 Released




                    gone                    W3C        XHTML
proposal   memo    public    1.0   2.0      4.0          1.0


 1981       1989   1991     1993   1995     1997          2000



                                         1996   1998

                                     CSS 1.0    CSS 1.0
HISTORY
                            WHATWG starts work on
   2004                     HTML5 under the name
                            Web Applications 1.0

                    gone                    W3C        XHTML     WHATWG
proposal   memo    public    1.0   2.0      4.0          1.0      HTML5


 1981       1989   1991     1993   1995     1997          2000    2004



                                         1996   1998

                                     CSS 1.0    CSS 1.0
HISTORY

    2006                    “WAIT!” - W3C




                    gone                    W3C        XHTML     WHATWG W3C
proposal   memo    public    1.0   2.0      4.0          1.0      HTML5 wait!


 1981       1989   1991     1993   1995     1997          2000    2004   2006



                                         1996   1998

                                     CSS 1.0    CSS 1.0
HISTORY

    2008                    W3C pushes a working draft
                            for HTML5


                    gone                    W3C        XHTML     WHATWG W3C      W3C
proposal   memo    public    1.0   2.0      4.0          1.0      HTML5 wait!   HTML5


 1981       1989   1991     1993   1995     1997          2000    2004   2006   2008



                                         1996   1998

                                     CSS 1.0    CSS 1.0
HISTORY

    2009                    W3C announces the XHTML2
                            working group will stop work


                    gone                    W3C        XHTML     WHATWG W3C      W3C
proposal   memo    public    1.0   2.0      4.0          1.0      HTML5 wait!   HTML5 XHTML2


 1981       1989   1991     1993   1995     1997          2000    2004   2006   2008   2009



                                         1996   1998

                                     CSS 1.0    CSS 1.0
HISTORY

           2012             HTML5 Candidate Recommendation




                    gone                    W3C        XHTML     WHATWG W3C      W3C          HTML5
proposal    memo   public    1.0   2.0      4.0          1.0      HTML5 wait!   HTML5 XHTML2 candidate


 1981       1989   1991     1993   1995     1997          2000    2004   2006   2008   2009     2012



                                         1996   1998

                                     CSS 1.0    CSS 1.0
HISTORY

        2022               HTML5 Proposed Recommendation




                   gone                    W3C        XHTML     WHATWG W3C      W3C          HTML5       HTML5
proposal   memo   public    1.0   2.0      4.0          1.0      HTML5 wait!   HTML5 XHTML2 candidate   proposed


 1981      1989   1991     1993   1995     1997          2000    2004   2006   2008     2009   2012       2022



                                        1996   1998
                                                                                 CSS3
                                    CSS 1.0    CSS 1.0
HTML5
the content layer
New Doctype
NEW
<?DOCTYPE html>

OLD
<?DOCTYPE html PUBLIC “-//W3C//DTD
XHTML 1.1//EN” “h p://www.w3.org/TR/xhtml11/
DTD/xhtml11.dtd”>
Character Set
NEW
<meta charset="utf-8" />

OLD
<meta h p-equiv="Content-Type"
content="text/html; charset=utf-8" />
Javascript Embed
NEW
<script> </script>

OLD
<script type="text/javascript"> </script>
Styles Embed
NEW
<style> </style>

OLD
<style type="text/css"></script>
Stylesheet Linking
NEW
<link rel="stylesheet" href="file.css" />

OLD
<link rel="stylesheet" href="file.css"
type="text/css" media="all" />
Tag Etique e
<img src=”../img/mjackson.jpg” />   ok

<img src=../img/mjackson.jpg />     ok

<IMG SRC=../img/mjackson.jpg />     ok

<img src=../img/mjackson.jpg >      ok

<br /> or <br>                      ok

<input /> or <input>                ok
Block-Level Links
You can now wrap links   <li>
around block-level        <a href="page.html">
elements, rather than        <img src="pic.jpg">
having to create links
around every element         <h3>Title</h3>
inside the block             <p>Text</p>
element.                  </a>
                         </li>
“drop it like
Removed Tags       it’s hot”


big         applet
center      dir
u           basefont
            frame
s, strike   frameset
font        noframes
acronym
New Tags
Provides new               <HEADER>
semantic vocabulary
for parts of a page          <NAV>
previously served by
DIVs with ID and
Class a ributes.       <SECTION>
IE requires some
workarounds using                     <ASIDE>
JavaScript to make     <ARTICLE>
these elements work.



                           <FOOTER>
<figure>
Allows for                <FIGURE>
associating captions
with embedded
content, including
videos, audio,
pullquotes, or
images.
                          CONTENT
                       (IMG,VIDEO,ETC.)



                          <LEGEND>
<video>
CODECS/CONTAINER                             IE        FIREFOX          SAFARI CHROME OPERA                         IPHONE ANDROID

Theora+Vorbis+Ogg                           -              3.5+           -             5.0+           10.5+            -             -
H.264+AAC+MP4                               9.0+           -              3.0+          -              -              3.0+           2.0+
WebM                                        9.0+           4.0+           -             6.0+           10.6+          -              2.3+

<video id="movie" width="320" height="240" preload controls>
 <source src="pr6.webm" type='video/webm; codecs="vp8, vorbis"' />
 <source src="pr6.ogv" type='video/ogg; codecs="theora, vorbis"' />
 <source src="pr6.mp4" />
 <object width="320" height="240" type="application/x-shockwave-flash"
  data="flowplayer-3.2.1.swf">
  <param name="movie" value="flowplayer-3.2.1.swf" />
  <param name="allowfullscreen" value="true" />
  <param name="flashvars" value='config={"clip": {"url": "h p://wearehugh.com/dih5/pr6.mp4", "autoPlay":false, "autoBu ering":true}}' />
  <p>Download video as <a href="pr6.mp4">MP4</a>, <a href="pr6.webm">WebM</a>, or <a href="pr6.ogv">Ogg</a>.</p>
 </object>
</video>
<script>
 var v = document.getElementById("movie");
 v.onclick = function() {
  if (v.paused) {
    v.play();
  } else {
    v.pause();
  }
 };
</script>
<audio>
BROWSER             OGG VORBIS            MP3         WAV
Firefox 3.6+               yes            -            yes
Safari 5+                  -              yes          yes
Chrome 6                   yes            yes          -
Opera 10.5+                yes            -            yes
IE 9                       -              yes          yes


ATTRIBUTES
src            url               <audio src="bieberfever.ogg"></audio>
autoplay       boolean           <audio src="bieberfever.ogg" autoplay></audio>
loop           boolean           <audio src="bieberfever.ogg" loop></audio>
controls       boolean           <audio src="bieberfever.ogg" controls></audio>
preload        none/auto         <audio src="bieberfever.ogg" preload="auto"></audio>
<audio>
<audio controls preload="none">
  <source src="bieberfever.ogg" type="audio/ogg">
  <source src="bieberfever.mp3" type="audio/mpeg">
  <object type="application/x-shockwave...
</audio
<meter>
Represents a scalar measurement within a
known range...

<meter> 2 out of 10 </meter>

<p>Your score is: <meter min="0" max="10">2 out of 10</meter></p>

<p>Your score is: <meter value="91" min="0" max="100" low="40"
high="90" optimum="100">A+</meter></p>
<progress>
Defines work-in-progress. Use it to display the
progress of a time consuming function in Javascript

<progress>
  <span>76</span>%
</progress>


<progress max="50" value="23">
  <span>23</span> of <span>50</span>
</progress>
<time>
Defines a time or a date, or both.


<p>We scrum it up at <time>9:00</time> every morning.</p>

<time datetime="2011-03-1709:00" pubdate>9:00</time>
<mark>
Defines marked or highlighted text.


<p>Search Results for <mark>mildred</mark></p>



Some Good Uses
Highlighting search terms on a page
Directing a ention to a word or phrase
Adding emphasis
WEB FORMS!
New A ributes

required
autocomplete
placeholder
autofocus
required
<input type="text" required >


The required a ribute specifies that an input
field must be filled out before submi ing.
autocomplete
<input type="text" autocomplete >


The autocomplete a ribute specifies that the
form or input field should have an autocomplete
function. Tells the browser to allow the field to
be autocompleted or not.
placeholder
<input type="text" placeholder="Search..." >


The placeholder a ribute provides a hint that
describes the expected value of an input field.
autofocus
<input type="text" autofocus >


The autofocus a ribute specifies that a field
should automatically get focus when a page is
loaded.
WEB FORMS (cont)
 Input Types

 search        number
 email         range
 url           date
 tel           color
search
<input type="search">


The search field behaves like
a regular text field. Some
browsers add special styling
and/or functionality for
clearing.


 + mobile
email
<input type="email">


Used for input fields that should
contain an e-mail address.




 + mobile
url
<input type="url">


Used for input fields that should
contain a URL address.




 + mobile
number
<input type="number">


used for input fields that should
contain a numeric value.




 + mobile
number
<input type="number">


used for input fields that should
contain a numeric value.
<input type="number"
    min="0"
    max="10"
    step="2"
    value="6">

  + mobile
tel
<input type="tel">


Used for input fields that should
contain numbers only




 + mobile
range
<input type="range"
    min="0"
    max="10"
    step="2"
    value="6">

Used for input fields that should contain
a value from a range of numbers.


 + mobile
date pickers
<input type="date">
<input type="month">
<input type="week">
<input type="time">
<input type="datetime">   (utc time)


<input type="datetime-local">          (local time)
color
<input type="color">


Used for input fields that
should contain a color
NEW API’s

Drag and Drop              Canvas
Cross-Document Messaging   SVG
Web Storage
O line Web Apps
drag’n drop
Allows objects (images and links, by
default) to be dragged and then
dropped onto a target.


h p://instantsprite.com
cross doc messaging
Cross Document Messaging
allows documents of
di erent domains to
communicate.

Sending document can call
postMessage() and
receiving document listens
for a ‘message’ event.
web storage
“The sessionStorage DOM a ribute stores session
data for a single window, like cookies on crack.”

<input type="checkbox"
  onchange="
  localStorage.insurance=checked
" />



           + mobile
o line web apps
Allows the client to    <html manifest="/cache.manifest">
refer directly to its
                        CACHE MANIFEST
cache for certain
                        index.html
resources even          help.html
while o line.           style/default.css
                        images/logo.png
Resources under         images/background.png
"network" are
never cached            NETWORK:
                        server.cgi
            + mobile
canvas                       svg     scalable vector graphics




Canvas is like making a      Making layers that retain
flat drawing without         distinctive shapes. Like
layers. Like a whiteboard.   construction paper.




           + mobile                        + mobile
geolocation
Allows users to share their location for
location-aware services.

Some Uses
  Show users position on a map
  Tag content (photos/sound/video)
  Turn-by-turn navigation
  Alert users of nearby points of interest
  Social networking

Users must be allowed to opt-in to location sharing

       + mobile
CAN WE EVEN USE
  THIS STUFF?
“The future is already here. It’s just
not very evenly distributed”

                      William Gibson
PROGRESSIVE
DEGRAHANCEMENT
graceful degradation & progressive enhancement


         start awesome              start with necessary


   strip features/fallbacks for   enhance for more capable
         lesser browsers                 browsers
implementations
making the magic happen


Some CSS
HTML5 Shiv
Modernizr
Some CSS
Sectioning elements need a line break:

header, nav, section,
article, aside, footer { display: block }
HTML5 Shiv
In IE8- new tags are recognized so they
need to be created.

document.createElement(‘header’);
document.createElement(‘section’);
etc.

HTML5 Shiv determines browser version
and creates the elements for us if needed.
Modernizr.js
O ers a 3.7k javascript file you can add to
your project.

Includes the HTML5 shiv
Uses feature detection to easily control fallbacks
Works with both HTML5 and CSS3 elements
CSS3
the presentation layer
     coming soon
Sources
Because I didn’t make this stu up.

Up to Speed on HTML5 & CSS3    M.Jackson Wilkinson and Jason Garber
HTML5 the 30,000’ View         Peter Lubbers
Echo HTML5                     John Dyer and Nathan Smith
In Control 2010 HTML5          Christopher Schmi
The Future of the Web: HTML5   Derek Bender
Semantics of HTML5             Jesh Barlow
Dive into HTML5                Mark Pilgrim
W3Schools.com
HTML5 Doctor                   h p://html5doctor.com/about/
HTML5 for Web Designers        Jeremy Keith

More Related Content

What's hot

Elementor - WordPress WYSIWYG Page Builder
Elementor - WordPress WYSIWYG Page BuilderElementor - WordPress WYSIWYG Page Builder
Elementor - WordPress WYSIWYG Page BuilderRolf Mistelbacher
 
Introduction to Progressive Web App
Introduction to Progressive Web AppIntroduction to Progressive Web App
Introduction to Progressive Web AppBinh Bui
 
Why Progressive Web App is what you need for your Business
Why Progressive Web App is what you need for your BusinessWhy Progressive Web App is what you need for your Business
Why Progressive Web App is what you need for your BusinessLets Grow Business
 
Docker Swarm 0.2.0
Docker Swarm 0.2.0Docker Swarm 0.2.0
Docker Swarm 0.2.0Docker, Inc.
 
Introduction to Docker - 2017
Introduction to Docker - 2017Introduction to Docker - 2017
Introduction to Docker - 2017Docker, Inc.
 
How BDD enables True CI/CD
How BDD enables True CI/CDHow BDD enables True CI/CD
How BDD enables True CI/CDRoger Turnau
 
Optimizing Docker Images
Optimizing Docker ImagesOptimizing Docker Images
Optimizing Docker ImagesBrian DeHamer
 
Pwa demystified
Pwa demystifiedPwa demystified
Pwa demystifiededynamic
 
Building a Progressive Web App
Building a  Progressive Web AppBuilding a  Progressive Web App
Building a Progressive Web AppIdo Green
 
Getting started with Next.js - IM Tech Meetup - Oct 2022.pptx
Getting started with Next.js - IM Tech Meetup - Oct 2022.pptxGetting started with Next.js - IM Tech Meetup - Oct 2022.pptx
Getting started with Next.js - IM Tech Meetup - Oct 2022.pptxIlesh Mistry
 
Tailwind CSS.11.pptx
Tailwind CSS.11.pptxTailwind CSS.11.pptx
Tailwind CSS.11.pptxHarish Verma
 
왕초보를 위한 도커 사용법
왕초보를 위한 도커 사용법왕초보를 위한 도커 사용법
왕초보를 위한 도커 사용법GeunCheolYeom
 
Docker Basic to Advance
Docker Basic to AdvanceDocker Basic to Advance
Docker Basic to AdvanceParas Jain
 
React redux-tutoriel-1
React redux-tutoriel-1React redux-tutoriel-1
React redux-tutoriel-1Sem Koto
 

What's hot (20)

Elementor - WordPress WYSIWYG Page Builder
Elementor - WordPress WYSIWYG Page BuilderElementor - WordPress WYSIWYG Page Builder
Elementor - WordPress WYSIWYG Page Builder
 
CI/CD on AWS
CI/CD on AWSCI/CD on AWS
CI/CD on AWS
 
Introduction to Progressive Web App
Introduction to Progressive Web AppIntroduction to Progressive Web App
Introduction to Progressive Web App
 
Why Progressive Web App is what you need for your Business
Why Progressive Web App is what you need for your BusinessWhy Progressive Web App is what you need for your Business
Why Progressive Web App is what you need for your Business
 
Docker Swarm 0.2.0
Docker Swarm 0.2.0Docker Swarm 0.2.0
Docker Swarm 0.2.0
 
Introduction to Docker - 2017
Introduction to Docker - 2017Introduction to Docker - 2017
Introduction to Docker - 2017
 
How BDD enables True CI/CD
How BDD enables True CI/CDHow BDD enables True CI/CD
How BDD enables True CI/CD
 
What is Docker
What is DockerWhat is Docker
What is Docker
 
Optimizing Docker Images
Optimizing Docker ImagesOptimizing Docker Images
Optimizing Docker Images
 
Progressive web app
Progressive web appProgressive web app
Progressive web app
 
Pwa demystified
Pwa demystifiedPwa demystified
Pwa demystified
 
Building a Progressive Web App
Building a  Progressive Web AppBuilding a  Progressive Web App
Building a Progressive Web App
 
Getting started with Next.js - IM Tech Meetup - Oct 2022.pptx
Getting started with Next.js - IM Tech Meetup - Oct 2022.pptxGetting started with Next.js - IM Tech Meetup - Oct 2022.pptx
Getting started with Next.js - IM Tech Meetup - Oct 2022.pptx
 
Tailwind CSS.11.pptx
Tailwind CSS.11.pptxTailwind CSS.11.pptx
Tailwind CSS.11.pptx
 
왕초보를 위한 도커 사용법
왕초보를 위한 도커 사용법왕초보를 위한 도커 사용법
왕초보를 위한 도커 사용법
 
MongoDB and Node.js
MongoDB and Node.jsMongoDB and Node.js
MongoDB and Node.js
 
Progressive Web App
Progressive Web AppProgressive Web App
Progressive Web App
 
Why Vue.js?
Why Vue.js?Why Vue.js?
Why Vue.js?
 
Docker Basic to Advance
Docker Basic to AdvanceDocker Basic to Advance
Docker Basic to Advance
 
React redux-tutoriel-1
React redux-tutoriel-1React redux-tutoriel-1
React redux-tutoriel-1
 

Viewers also liked

使用Bigpipe提升浏览速度
使用Bigpipe提升浏览速度使用Bigpipe提升浏览速度
使用Bigpipe提升浏览速度kumawu
 
春雨路演
春雨路演春雨路演
春雨路演36Kr.com
 
目录结构规范
目录结构规范目录结构规范
目录结构规范Zheng Biao
 
独爽不如众乐
独爽不如众乐独爽不如众乐
独爽不如众乐Zheng Biao
 
使用kslite支持第三方内容开发
使用kslite支持第三方内容开发使用kslite支持第三方内容开发
使用kslite支持第三方内容开发leneli
 

Viewers also liked (7)

使用Bigpipe提升浏览速度
使用Bigpipe提升浏览速度使用Bigpipe提升浏览速度
使用Bigpipe提升浏览速度
 
Html5
Html5Html5
Html5
 
Pure real natural
Pure real naturalPure real natural
Pure real natural
 
春雨路演
春雨路演春雨路演
春雨路演
 
目录结构规范
目录结构规范目录结构规范
目录结构规范
 
独爽不如众乐
独爽不如众乐独爽不如众乐
独爽不如众乐
 
使用kslite支持第三方内容开发
使用kslite支持第三方内容开发使用kslite支持第三方内容开发
使用kslite支持第三方内容开发
 

Similar to HTML5

The History of HTML5
The History of HTML5The History of HTML5
The History of HTML5Mike Wilcox
 
Everything you need to know about HTML5 in 15 min
Everything you need to know about HTML5 in 15 minEverything you need to know about HTML5 in 15 min
Everything you need to know about HTML5 in 15 minEdgar Parada
 
HTML5 어디까지 왔나?
HTML5 어디까지 왔나?HTML5 어디까지 왔나?
HTML5 어디까지 왔나?정현 황
 
HTML5 를 이용한 하이브리드앱 제작
HTML5 를 이용한 하이브리드앱 제작HTML5 를 이용한 하이브리드앱 제작
HTML5 를 이용한 하이브리드앱 제작Zany Lee
 
夜宴6期《Past, Present, and Future》
夜宴6期《Past, Present, and Future》夜宴6期《Past, Present, and Future》
夜宴6期《Past, Present, and Future》Koubei Banquet
 
Voice Browsing And Multimodal Interaction In 2009
Voice Browsing And Multimodal Interaction In 2009Voice Browsing And Multimodal Interaction In 2009
Voice Browsing And Multimodal Interaction In 2009GoogleTecTalks
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5IT Geeks
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete ReferenceEPAM Systems
 
What the heck is HTML 5?
What the heck is HTML 5?What the heck is HTML 5?
What the heck is HTML 5?Simon Willison
 
Web技術の現状と将来 (Open Source Conference 2011 Tokyo Spring)
Web技術の現状と将来 (Open Source Conference 2011 Tokyo Spring)Web技術の現状と将来 (Open Source Conference 2011 Tokyo Spring)
Web技術の現状と将来 (Open Source Conference 2011 Tokyo Spring)Rikkyo University
 
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5Manav Prasad
 
Introduction to html55
Introduction to html55Introduction to html55
Introduction to html55subrat55
 

Similar to HTML5 (20)

Html5 Primer
Html5 PrimerHtml5 Primer
Html5 Primer
 
The History of HTML5
The History of HTML5The History of HTML5
The History of HTML5
 
The beginnings of HTML5
The beginnings of HTML5The beginnings of HTML5
The beginnings of HTML5
 
Html5
Html5Html5
Html5
 
Everything you need to know about HTML5 in 15 min
Everything you need to know about HTML5 in 15 minEverything you need to know about HTML5 in 15 min
Everything you need to know about HTML5 in 15 min
 
HTML5 어디까지 왔나?
HTML5 어디까지 왔나?HTML5 어디까지 왔나?
HTML5 어디까지 왔나?
 
HTML5
HTML5HTML5
HTML5
 
20100414 kgoon introducing_html5
20100414 kgoon introducing_html520100414 kgoon introducing_html5
20100414 kgoon introducing_html5
 
HTML5 를 이용한 하이브리드앱 제작
HTML5 를 이용한 하이브리드앱 제작HTML5 를 이용한 하이브리드앱 제작
HTML5 를 이용한 하이브리드앱 제작
 
夜宴6期《Past, Present, and Future》
夜宴6期《Past, Present, and Future》夜宴6期《Past, Present, and Future》
夜宴6期《Past, Present, and Future》
 
Banquet 06
Banquet 06Banquet 06
Banquet 06
 
Voice Browsing And Multimodal Interaction In 2009
Voice Browsing And Multimodal Interaction In 2009Voice Browsing And Multimodal Interaction In 2009
Voice Browsing And Multimodal Interaction In 2009
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
 
What the heck is HTML 5?
What the heck is HTML 5?What the heck is HTML 5?
What the heck is HTML 5?
 
Web Standards
Web StandardsWeb Standards
Web Standards
 
Web技術の現状と将来 (Open Source Conference 2011 Tokyo Spring)
Web技術の現状と将来 (Open Source Conference 2011 Tokyo Spring)Web技術の現状と将来 (Open Source Conference 2011 Tokyo Spring)
Web技術の現状と将来 (Open Source Conference 2011 Tokyo Spring)
 
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
 
Introduction to html55
Introduction to html55Introduction to html55
Introduction to html55
 
Html5 Seminario Tid
Html5  Seminario TidHtml5  Seminario Tid
Html5 Seminario Tid
 

Recently uploaded

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
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
 
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
 
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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
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
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
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
 
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?
 
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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
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
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 

HTML5

  • 2. HISTORY 1981 Tim Berners Lee proposes an internet-based hypertext system proposal 1981
  • 3. HISTORY 1989 Tim Berners Lee writes a memo proposing an internet-based hypertext system proposal memo 1981 1989
  • 4. HISTORY 1991 HTML tags first mentioned in PUBLIC! gone proposal memo public 1981 1989 1991
  • 5. HISTORY 1993 1.0 gone proposal memo public 1.0 1981 1989 1991 1993
  • 6. HISTORY 1995 2.0 gone proposal memo public 1.0 2.0 1981 1989 1991 1993 1995 1996 CSS 1.0
  • 7. HISTORY 1997 4.0 gone W3C proposal memo public 1.0 2.0 4.0 1981 1989 1991 1993 1995 1997 1996 1998 CSS 1.0 CSS 1.0
  • 8. HISTORY 2000 XHTML 1.0 Released gone W3C XHTML proposal memo public 1.0 2.0 4.0 1.0 1981 1989 1991 1993 1995 1997 2000 1996 1998 CSS 1.0 CSS 1.0
  • 9. HISTORY WHATWG starts work on 2004 HTML5 under the name Web Applications 1.0 gone W3C XHTML WHATWG proposal memo public 1.0 2.0 4.0 1.0 HTML5 1981 1989 1991 1993 1995 1997 2000 2004 1996 1998 CSS 1.0 CSS 1.0
  • 10. HISTORY 2006 “WAIT!” - W3C gone W3C XHTML WHATWG W3C proposal memo public 1.0 2.0 4.0 1.0 HTML5 wait! 1981 1989 1991 1993 1995 1997 2000 2004 2006 1996 1998 CSS 1.0 CSS 1.0
  • 11. HISTORY 2008 W3C pushes a working draft for HTML5 gone W3C XHTML WHATWG W3C W3C proposal memo public 1.0 2.0 4.0 1.0 HTML5 wait! HTML5 1981 1989 1991 1993 1995 1997 2000 2004 2006 2008 1996 1998 CSS 1.0 CSS 1.0
  • 12. HISTORY 2009 W3C announces the XHTML2 working group will stop work gone W3C XHTML WHATWG W3C W3C proposal memo public 1.0 2.0 4.0 1.0 HTML5 wait! HTML5 XHTML2 1981 1989 1991 1993 1995 1997 2000 2004 2006 2008 2009 1996 1998 CSS 1.0 CSS 1.0
  • 13. HISTORY 2012 HTML5 Candidate Recommendation gone W3C XHTML WHATWG W3C W3C HTML5 proposal memo public 1.0 2.0 4.0 1.0 HTML5 wait! HTML5 XHTML2 candidate 1981 1989 1991 1993 1995 1997 2000 2004 2006 2008 2009 2012 1996 1998 CSS 1.0 CSS 1.0
  • 14. HISTORY 2022 HTML5 Proposed Recommendation gone W3C XHTML WHATWG W3C W3C HTML5 HTML5 proposal memo public 1.0 2.0 4.0 1.0 HTML5 wait! HTML5 XHTML2 candidate proposed 1981 1989 1991 1993 1995 1997 2000 2004 2006 2008 2009 2012 2022 1996 1998 CSS3 CSS 1.0 CSS 1.0
  • 16. New Doctype NEW <?DOCTYPE html> OLD <?DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “h p://www.w3.org/TR/xhtml11/ DTD/xhtml11.dtd”>
  • 17. Character Set NEW <meta charset="utf-8" /> OLD <meta h p-equiv="Content-Type" content="text/html; charset=utf-8" />
  • 18. Javascript Embed NEW <script> </script> OLD <script type="text/javascript"> </script>
  • 19. Styles Embed NEW <style> </style> OLD <style type="text/css"></script>
  • 20. Stylesheet Linking NEW <link rel="stylesheet" href="file.css" /> OLD <link rel="stylesheet" href="file.css" type="text/css" media="all" />
  • 21. Tag Etique e <img src=”../img/mjackson.jpg” /> ok <img src=../img/mjackson.jpg /> ok <IMG SRC=../img/mjackson.jpg /> ok <img src=../img/mjackson.jpg > ok <br /> or <br> ok <input /> or <input> ok
  • 22. Block-Level Links You can now wrap links <li> around block-level <a href="page.html"> elements, rather than <img src="pic.jpg"> having to create links around every element <h3>Title</h3> inside the block <p>Text</p> element. </a> </li>
  • 23. “drop it like Removed Tags it’s hot” big applet center dir u basefont frame s, strike frameset font noframes acronym
  • 24. New Tags Provides new <HEADER> semantic vocabulary for parts of a page <NAV> previously served by DIVs with ID and Class a ributes. <SECTION> IE requires some workarounds using <ASIDE> JavaScript to make <ARTICLE> these elements work. <FOOTER>
  • 25. <figure> Allows for <FIGURE> associating captions with embedded content, including videos, audio, pullquotes, or images. CONTENT (IMG,VIDEO,ETC.) <LEGEND>
  • 26. <video> CODECS/CONTAINER IE FIREFOX SAFARI CHROME OPERA IPHONE ANDROID Theora+Vorbis+Ogg - 3.5+ - 5.0+ 10.5+ - - H.264+AAC+MP4 9.0+ - 3.0+ - - 3.0+ 2.0+ WebM 9.0+ 4.0+ - 6.0+ 10.6+ - 2.3+ <video id="movie" width="320" height="240" preload controls> <source src="pr6.webm" type='video/webm; codecs="vp8, vorbis"' /> <source src="pr6.ogv" type='video/ogg; codecs="theora, vorbis"' /> <source src="pr6.mp4" /> <object width="320" height="240" type="application/x-shockwave-flash" data="flowplayer-3.2.1.swf"> <param name="movie" value="flowplayer-3.2.1.swf" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value='config={"clip": {"url": "h p://wearehugh.com/dih5/pr6.mp4", "autoPlay":false, "autoBu ering":true}}' /> <p>Download video as <a href="pr6.mp4">MP4</a>, <a href="pr6.webm">WebM</a>, or <a href="pr6.ogv">Ogg</a>.</p> </object> </video> <script> var v = document.getElementById("movie"); v.onclick = function() { if (v.paused) { v.play(); } else { v.pause(); } }; </script>
  • 27. <audio> BROWSER OGG VORBIS MP3 WAV Firefox 3.6+ yes - yes Safari 5+ - yes yes Chrome 6 yes yes - Opera 10.5+ yes - yes IE 9 - yes yes ATTRIBUTES src url <audio src="bieberfever.ogg"></audio> autoplay boolean <audio src="bieberfever.ogg" autoplay></audio> loop boolean <audio src="bieberfever.ogg" loop></audio> controls boolean <audio src="bieberfever.ogg" controls></audio> preload none/auto <audio src="bieberfever.ogg" preload="auto"></audio>
  • 28. <audio> <audio controls preload="none"> <source src="bieberfever.ogg" type="audio/ogg"> <source src="bieberfever.mp3" type="audio/mpeg"> <object type="application/x-shockwave... </audio
  • 29. <meter> Represents a scalar measurement within a known range... <meter> 2 out of 10 </meter> <p>Your score is: <meter min="0" max="10">2 out of 10</meter></p> <p>Your score is: <meter value="91" min="0" max="100" low="40" high="90" optimum="100">A+</meter></p>
  • 30. <progress> Defines work-in-progress. Use it to display the progress of a time consuming function in Javascript <progress> <span>76</span>% </progress> <progress max="50" value="23"> <span>23</span> of <span>50</span> </progress>
  • 31. <time> Defines a time or a date, or both. <p>We scrum it up at <time>9:00</time> every morning.</p> <time datetime="2011-03-1709:00" pubdate>9:00</time>
  • 32. <mark> Defines marked or highlighted text. <p>Search Results for <mark>mildred</mark></p> Some Good Uses Highlighting search terms on a page Directing a ention to a word or phrase Adding emphasis
  • 33. WEB FORMS! New A ributes required autocomplete placeholder autofocus
  • 34. required <input type="text" required > The required a ribute specifies that an input field must be filled out before submi ing.
  • 35. autocomplete <input type="text" autocomplete > The autocomplete a ribute specifies that the form or input field should have an autocomplete function. Tells the browser to allow the field to be autocompleted or not.
  • 36. placeholder <input type="text" placeholder="Search..." > The placeholder a ribute provides a hint that describes the expected value of an input field.
  • 37. autofocus <input type="text" autofocus > The autofocus a ribute specifies that a field should automatically get focus when a page is loaded.
  • 38. WEB FORMS (cont) Input Types search number email range url date tel color
  • 39. search <input type="search"> The search field behaves like a regular text field. Some browsers add special styling and/or functionality for clearing. + mobile
  • 40. email <input type="email"> Used for input fields that should contain an e-mail address. + mobile
  • 41. url <input type="url"> Used for input fields that should contain a URL address. + mobile
  • 42. number <input type="number"> used for input fields that should contain a numeric value. + mobile
  • 43. number <input type="number"> used for input fields that should contain a numeric value. <input type="number" min="0" max="10" step="2" value="6"> + mobile
  • 44. tel <input type="tel"> Used for input fields that should contain numbers only + mobile
  • 45. range <input type="range" min="0" max="10" step="2" value="6"> Used for input fields that should contain a value from a range of numbers. + mobile
  • 46. date pickers <input type="date"> <input type="month"> <input type="week"> <input type="time"> <input type="datetime"> (utc time) <input type="datetime-local"> (local time)
  • 47. color <input type="color"> Used for input fields that should contain a color
  • 48. NEW API’s Drag and Drop Canvas Cross-Document Messaging SVG Web Storage O line Web Apps
  • 49. drag’n drop Allows objects (images and links, by default) to be dragged and then dropped onto a target. h p://instantsprite.com
  • 50. cross doc messaging Cross Document Messaging allows documents of di erent domains to communicate. Sending document can call postMessage() and receiving document listens for a ‘message’ event.
  • 51. web storage “The sessionStorage DOM a ribute stores session data for a single window, like cookies on crack.” <input type="checkbox" onchange=" localStorage.insurance=checked " /> + mobile
  • 52. o line web apps Allows the client to <html manifest="/cache.manifest"> refer directly to its CACHE MANIFEST cache for certain index.html resources even help.html while o line. style/default.css images/logo.png Resources under images/background.png "network" are never cached NETWORK: server.cgi + mobile
  • 53. canvas svg scalable vector graphics Canvas is like making a Making layers that retain flat drawing without distinctive shapes. Like layers. Like a whiteboard. construction paper. + mobile + mobile
  • 54. geolocation Allows users to share their location for location-aware services. Some Uses Show users position on a map Tag content (photos/sound/video) Turn-by-turn navigation Alert users of nearby points of interest Social networking Users must be allowed to opt-in to location sharing + mobile
  • 55. CAN WE EVEN USE THIS STUFF?
  • 56. “The future is already here. It’s just not very evenly distributed” William Gibson
  • 57. PROGRESSIVE DEGRAHANCEMENT graceful degradation & progressive enhancement start awesome start with necessary strip features/fallbacks for enhance for more capable lesser browsers browsers
  • 58. implementations making the magic happen Some CSS HTML5 Shiv Modernizr
  • 59. Some CSS Sectioning elements need a line break: header, nav, section, article, aside, footer { display: block }
  • 60. HTML5 Shiv In IE8- new tags are recognized so they need to be created. document.createElement(‘header’); document.createElement(‘section’); etc. HTML5 Shiv determines browser version and creates the elements for us if needed.
  • 61. Modernizr.js O ers a 3.7k javascript file you can add to your project. Includes the HTML5 shiv Uses feature detection to easily control fallbacks Works with both HTML5 and CSS3 elements
  • 63. Sources Because I didn’t make this stu up. Up to Speed on HTML5 & CSS3 M.Jackson Wilkinson and Jason Garber HTML5 the 30,000’ View Peter Lubbers Echo HTML5 John Dyer and Nathan Smith In Control 2010 HTML5 Christopher Schmi The Future of the Web: HTML5 Derek Bender Semantics of HTML5 Jesh Barlow Dive into HTML5 Mark Pilgrim W3Schools.com HTML5 Doctor h p://html5doctor.com/about/ HTML5 for Web Designers Jeremy Keith