SlideShare a Scribd company logo
HTML5 101
THE INTRO
THE INTRO
•HTML4
•XHTML
•WHATWG (Web Hypertext Application Technology Working Group)
•W3C adopte HTML5
•XHTML 2 versus HTML5/HTML 5
•in 2009 HTML5 had “won.”
THE INTRO

HTML5 = HTML 5 + CSS3 + JS
Content

Presentation

Script
HTML5 technologies:
•Device Access
•3D, Graphics & Effects
•CSS3
•Semantics
•Multimedia
•Connectivity
•Performance & Integration
•Offline & Storage
HTML5 gives us new standards for how we can create web
When Will HTML5 Be Ready for Use?

2022
Do I Have to Wait Until 2022 ?

NO
New Structural Elements in HTML5
New Doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ”http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html>

Old Character Encoding

New Character Encoding
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="utf-8" />

Old JavaScript and CSS Links
<script type="text/javascript" src="script.js"></script>

New JavaScript and CSS Links
<link rel="stylesheet" type="text/css" href="style.css"/>
Old Doctype





<script src="script.js"></script>
<link rel="stylesheet" href="style.css"/>
New Structural Elements in HTML5
HTML5 Starting Page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>page title</title>
<script src="my-script.js"></script>
<link rel="stylesheet" href="my-css.css" />
</head>
<body>
<!-- add your HTML5 here :) -->
Header Markup
<header>
<img alt="my logo" src="logo.png" />
<h1><a href="#">my site</a></h1>
</header>
Navigation Markup
<nav>
<ul>
<li><a
<li><a
<li><a
<li><a
</ul>
</nav>

href="#">Home</a></li>
href="#">About</a></li>
href="#">News</a></li>
href="#">Contact</a></li>
Multi Navigation Markup
<nav>
<h2>title 1</h2>
<ul>
<li><a href="#">menu
<li><a href="#">menu
</ul>
<h2>title 2</h2>
<ul>
<li><a href="#">menu
<li><a href="#">menu
</ul> </nav>

1</a></li>
2</a></li>

3</a></li>
4</a></li>
Article Markup

<article>
<header>
<h1>title</h1> <p>14nd Feb 2014</p>
</header>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incidi
</article>
Section Markup
<section>
<h1> heading </h2>

<section>
<h3> title </h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incid
</section>
</section>
Aside Markup
<aside>
<h2>links</h2>
<nav>
<ul>
<li><a href="#">10 things about HTML5</a></li>
<li><a href="#">10 things about CSS3</a></li>
<li><a href="#">10 things about JavaScript</a></li>
</ul>
</nav>
</aside>
Footer Markup
<footer>
<p>This article was published on <time>13 FEB 2014</time></p>
<small>&copy; Copyright HTML5 101</small>
</footer>
Details Markup

<details open>
<summary>details 1</summary>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incidi
</details>
<details>
<summary>details 2</summary>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incidi
</details>
Order list Markup
<ol reversed>
<li>Red</li> <li>Green</li> <li>Blue</li>
</ol>
<ol start="2" type="I">
<li>Red</li> <li>Green</li> <li>Blue</li>
</ol>
type="1"
type="a"
type="A"
type="i"
type="I"

=
=
=
=
=

1,
a,
A,
i,
I,

2, 3,4, 5
b, c, d, e
B, C, D, E
ii, iii, iv, v
II, III, IV, V
Definition list Markup
<h1>course infos</h1>
<dl>
<dt>Title:</dt>
<dd>HTML5 ISI</dd>
<dt>cover:</dt>
<dd>HTML5</dd>
<dd>CSS3</dd>
<dd>JS</dd>
<dt>Club:</dt>
<dd>Creative Lab</dd>
</dl>
Form Markup
<form><fieldset>
<legend>Fieldset legend </legend>
<label for="date">What date do you leave?</label>
<input required type="date" id="date" name="date" />
<textarea id="textarea" rows="5" cols="40">This is a textarea</textarea>
<select id="select">
<option>Option 1</option> <option>Option 2</option>
<option>Option 3</option> <option>Option 4</option>
</select>
<input type="submit" value="Submit" />
<input type="reset" value="Reset" />
</fieldset></form>
Input type Markup
<input
<input
<input
<input
<input
<input
<input
<input
<input
<input
<input
<input
<input

type="text" />
type="date" />
type="checkbox" />
type="radio" />
type="file" />
type="password" />
type="email" />
type="tel" />
type="url"/>
type="search" />
type="color">
type="number" />
type="range" />
Input attributes
Required Input



<input required type="****" />

Autofocus



<input autofocus type="****" />

Placeholder



<input type="****" placeholder="sample text" />

Multiple File Uploads



<input multiple type="file" id="upload" name="upload" />
Value , id , class ...
Input & Datalist Markup
<label for="sport">What's your favourite sport?</label>
<input list="sportlist" type="text" id="sport" name="sport" />
<datalist id="sportlist">
<option label="Basketball" value="Basketball" />
<option label="Football " value="Football" />
<option label="Handball" value="Handball" />
</datalist>
Video Markup
<video src="movie.mp4"></video>

OR
<video src="movie.mp4" />

OR
<video width="320" height="240" controls >
<source src="movie.mp4" type="video/mp4" />
<source src="movie.webm" type="video/webm" />
<source src="movie.ogv" type="video/ogg" />
<p>Sorry, your browser is really old. Please upgrade.</p>
</video>

Option attributes: preload,

autoplay, poster="img.jpg", loop, audio="muted"
Audio Markup
<audio src="music.mp3" controls />

OR
<audio controls>
<source src="music.mp3" type="audio/mp3" />
<source src="music.ogg" type="audio/ogg" />
</audio>
Option attributes: controls, preload, autoplay, loop
Progress & Meter Markup
Progress
<p>You are downloading a very important file, please wait.</p>
<progress value="45" max="100"></progress><span> 45% complete</span>

Meter
<meter value="10" min="0" max="100" low="40" high="90" optimum="100"></meter>
<meter value="80" min="0" max="100" low="40" high="90" optimum="100"></meter>
<meter value="100" min="0" max="100" low="40" high="90" optimum="100"></meter>
Intro to the DOM
What's DOM ?
Why I should know it ?
How I use it ?
What's Next ?
HTML5 developing doesn't need more than a text editor and a latest browser ,
So , I advise you to use one from this list as a text editor :
Sublime text 2 , Bracket , Adobe Edge Code , Adobe DreamWeaver .
And use chrome (canary) or firefox (Nightly) as a browser
THANK YOU

More Related Content

PDF
Lab#2 overview of html
PDF
CSS3 Introduction
PPTX
Html - By Auroskkil
PPTX
PPT
HTML5 CSS3 Basics
PPTX
Html basics-auro skills
Lab#2 overview of html
CSS3 Introduction
Html - By Auroskkil
HTML5 CSS3 Basics
Html basics-auro skills

What's hot (16)

PDF
960 Grid System
PDF
CSS-3 Course Slide
PPT
1. introduction to html5
PDF
Html 5 New Features
PDF
HTML5: features with examples
PPTX
HTML5 & CSS3
PPSX
HTML5, CSS3, and JavaScript
PPTX
New Elements & Features in HTML5
PPSX
Introduction to Html5
PPT
HTML5 Mullet: Forms & Input Validation
PDF
Intro to html 5
PDF
An Introduction To HTML5
PPTX
Html5 Basics
PPTX
Rendering The Fat
PPTX
Html5 and-css3-overview
PDF
960 Grid System
CSS-3 Course Slide
1. introduction to html5
Html 5 New Features
HTML5: features with examples
HTML5 & CSS3
HTML5, CSS3, and JavaScript
New Elements & Features in HTML5
Introduction to Html5
HTML5 Mullet: Forms & Input Validation
Intro to html 5
An Introduction To HTML5
Html5 Basics
Rendering The Fat
Html5 and-css3-overview
Ad

Viewers also liked (8)

PDF
Adding simpl GVN path into GHC
PDF
Museo de antequera
PDF
Lazy Pairing Heap
ODP
Html5 101
PDF
Profunctor and Arrow
PDF
HaskellDB
PDF
Html5 101
PDF
Learn BEM: CSS Naming Convention
Adding simpl GVN path into GHC
Museo de antequera
Lazy Pairing Heap
Html5 101
Profunctor and Arrow
HaskellDB
Html5 101
Learn BEM: CSS Naming Convention
Ad

Similar to Html5 101 (20)

PPT
1._Introduction_tyytggyyyyy666o_HTML5.ppt
PPT
1._Introduction_to_HTML5 powerpoint presentation
PPT
HTML_new_one is a ppt in markup language
PPT
1._Introduction_to_HTML5 les fonction et les balises
PPT
1._Introduction_to_HTML5 Web Designing.ppt
PPT
Introduction to html55
PPT
Introduction to html5
PPT
1. Introduction to HTML5.ppt
PPT
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
PPT
Introduction to HTML5
PPTX
PPTX
PPTX
Chapter 2 introduction to html5
PPT
HTML 5 Complete Reference
PPTX
PPT
Html5 tags
PPTX
Html5
PPTX
Learn HTML and HTML5
PPTX
PPT
HTML5_3.ppt
1._Introduction_tyytggyyyyy666o_HTML5.ppt
1._Introduction_to_HTML5 powerpoint presentation
HTML_new_one is a ppt in markup language
1._Introduction_to_HTML5 les fonction et les balises
1._Introduction_to_HTML5 Web Designing.ppt
Introduction to html55
Introduction to html5
1. Introduction to HTML5.ppt
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
Introduction to HTML5
Chapter 2 introduction to html5
HTML 5 Complete Reference
Html5 tags
Html5
Learn HTML and HTML5
HTML5_3.ppt

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Cloud computing and distributed systems.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Approach and Philosophy of On baking technology
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPT
Teaching material agriculture food technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Electronic commerce courselecture one. Pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Empathic Computing: Creating Shared Understanding
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Review of recent advances in non-invasive hemoglobin estimation
Advanced methodologies resolving dimensionality complications for autism neur...
Cloud computing and distributed systems.
Per capita expenditure prediction using model stacking based on satellite ima...
Approach and Philosophy of On baking technology
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Teaching material agriculture food technology
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation_ Review paper, used for researhc scholars
Network Security Unit 5.pdf for BCA BBA.
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
20250228 LYD VKU AI Blended-Learning.pptx
Electronic commerce courselecture one. Pdf
MYSQL Presentation for SQL database connectivity
Empathic Computing: Creating Shared Understanding
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

Html5 101

  • 3. THE INTRO •HTML4 •XHTML •WHATWG (Web Hypertext Application Technology Working Group) •W3C adopte HTML5 •XHTML 2 versus HTML5/HTML 5 •in 2009 HTML5 had “won.”
  • 4. THE INTRO HTML5 = HTML 5 + CSS3 + JS Content Presentation Script
  • 5. HTML5 technologies: •Device Access •3D, Graphics & Effects •CSS3 •Semantics •Multimedia •Connectivity •Performance & Integration •Offline & Storage
  • 6. HTML5 gives us new standards for how we can create web
  • 7. When Will HTML5 Be Ready for Use? 2022 Do I Have to Wait Until 2022 ? NO
  • 8. New Structural Elements in HTML5 New Doctype <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ”http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html>  Old Character Encoding  New Character Encoding <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta charset="utf-8" />  Old JavaScript and CSS Links <script type="text/javascript" src="script.js"></script>  New JavaScript and CSS Links <link rel="stylesheet" type="text/css" href="style.css"/> Old Doctype   <script src="script.js"></script> <link rel="stylesheet" href="style.css"/>
  • 10. HTML5 Starting Page <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>page title</title> <script src="my-script.js"></script> <link rel="stylesheet" href="my-css.css" /> </head> <body> <!-- add your HTML5 here :) -->
  • 11. Header Markup <header> <img alt="my logo" src="logo.png" /> <h1><a href="#">my site</a></h1> </header>
  • 13. Multi Navigation Markup <nav> <h2>title 1</h2> <ul> <li><a href="#">menu <li><a href="#">menu </ul> <h2>title 2</h2> <ul> <li><a href="#">menu <li><a href="#">menu </ul> </nav> 1</a></li> 2</a></li> 3</a></li> 4</a></li>
  • 14. Article Markup <article> <header> <h1>title</h1> <p>14nd Feb 2014</p> </header> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incidi </article>
  • 15. Section Markup <section> <h1> heading </h2> <section> <h3> title </h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incid </section> </section>
  • 16. Aside Markup <aside> <h2>links</h2> <nav> <ul> <li><a href="#">10 things about HTML5</a></li> <li><a href="#">10 things about CSS3</a></li> <li><a href="#">10 things about JavaScript</a></li> </ul> </nav> </aside>
  • 17. Footer Markup <footer> <p>This article was published on <time>13 FEB 2014</time></p> <small>&copy; Copyright HTML5 101</small> </footer>
  • 18. Details Markup <details open> <summary>details 1</summary> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incidi </details> <details> <summary>details 2</summary> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incidi </details>
  • 19. Order list Markup <ol reversed> <li>Red</li> <li>Green</li> <li>Blue</li> </ol> <ol start="2" type="I"> <li>Red</li> <li>Green</li> <li>Blue</li> </ol> type="1" type="a" type="A" type="i" type="I" = = = = = 1, a, A, i, I, 2, 3,4, 5 b, c, d, e B, C, D, E ii, iii, iv, v II, III, IV, V
  • 20. Definition list Markup <h1>course infos</h1> <dl> <dt>Title:</dt> <dd>HTML5 ISI</dd> <dt>cover:</dt> <dd>HTML5</dd> <dd>CSS3</dd> <dd>JS</dd> <dt>Club:</dt> <dd>Creative Lab</dd> </dl>
  • 21. Form Markup <form><fieldset> <legend>Fieldset legend </legend> <label for="date">What date do you leave?</label> <input required type="date" id="date" name="date" /> <textarea id="textarea" rows="5" cols="40">This is a textarea</textarea> <select id="select"> <option>Option 1</option> <option>Option 2</option> <option>Option 3</option> <option>Option 4</option> </select> <input type="submit" value="Submit" /> <input type="reset" value="Reset" /> </fieldset></form>
  • 22. Input type Markup <input <input <input <input <input <input <input <input <input <input <input <input <input type="text" /> type="date" /> type="checkbox" /> type="radio" /> type="file" /> type="password" /> type="email" /> type="tel" /> type="url"/> type="search" /> type="color"> type="number" /> type="range" />
  • 23. Input attributes Required Input  <input required type="****" /> Autofocus  <input autofocus type="****" /> Placeholder  <input type="****" placeholder="sample text" /> Multiple File Uploads  <input multiple type="file" id="upload" name="upload" /> Value , id , class ...
  • 24. Input & Datalist Markup <label for="sport">What's your favourite sport?</label> <input list="sportlist" type="text" id="sport" name="sport" /> <datalist id="sportlist"> <option label="Basketball" value="Basketball" /> <option label="Football " value="Football" /> <option label="Handball" value="Handball" /> </datalist>
  • 25. Video Markup <video src="movie.mp4"></video> OR <video src="movie.mp4" /> OR <video width="320" height="240" controls > <source src="movie.mp4" type="video/mp4" /> <source src="movie.webm" type="video/webm" /> <source src="movie.ogv" type="video/ogg" /> <p>Sorry, your browser is really old. Please upgrade.</p> </video> Option attributes: preload, autoplay, poster="img.jpg", loop, audio="muted"
  • 26. Audio Markup <audio src="music.mp3" controls /> OR <audio controls> <source src="music.mp3" type="audio/mp3" /> <source src="music.ogg" type="audio/ogg" /> </audio> Option attributes: controls, preload, autoplay, loop
  • 27. Progress & Meter Markup Progress <p>You are downloading a very important file, please wait.</p> <progress value="45" max="100"></progress><span> 45% complete</span> Meter <meter value="10" min="0" max="100" low="40" high="90" optimum="100"></meter> <meter value="80" min="0" max="100" low="40" high="90" optimum="100"></meter> <meter value="100" min="0" max="100" low="40" high="90" optimum="100"></meter>
  • 28. Intro to the DOM What's DOM ? Why I should know it ? How I use it ?
  • 29. What's Next ? HTML5 developing doesn't need more than a text editor and a latest browser , So , I advise you to use one from this list as a text editor : Sublime text 2 , Bracket , Adobe Edge Code , Adobe DreamWeaver . And use chrome (canary) or firefox (Nightly) as a browser