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 applications, with powerful APIs for things
such as canvas for drawing, drag and drop, offline
storage, and native video in the browser.
When Will HTML5 Be Ready for Use?

2022
Do I Have to Wait Until 2022 ?

NO
New Structural Elements in HTML5
●

Old Doctype

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ”
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
●

Old Character Encoding

<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
●

Old JavaScript and CSS Links

●

New Doctype

<!DOCTYPE html>
●

New Character Encoding

<meta charset="utf-8" />
●

New JavaScript and CSS Links

<script type="text/javascript" src="script.js"></script>

<script src="script.js"></script>

<link rel="stylesheet" type="text/css" href="style.css"/>

<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 :) -->
</body>
Header Markup
<header>
<img alt="my logo" src="logo.png" />
<h1><a href="#">my site</a></h1>
</header>
Navigation Markup
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">News</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
Multi Navigation Markup
<nav>
<h2>title 1</h2>
<ul>
<li><a href="#">menu 1</a></li>
<li><a href="#">menu 2</a></li>
</ul>
<h2>title 2</h2>
<ul>
<li><a href="#">menu 3</a></li>
<li><a href="#">menu 4</a></li>
</ul> </nav>
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
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure
dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit
anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit voluptatem
accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore
veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam
voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni
dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem
ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi
tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p>
</article>
Section Markup
<section>
<h1> heading </h2>

<section>
<h3> title </h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.</p>
</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
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </p>
</details>
<details>
<summary>details 2</summary>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </p>
</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" = 1, 2, 3,4, 5
type="a" = a, b, c, d, e
type="A" = A, B, C, D, E
type="i" = i, ii, iii, iv, v
type="I" = I, 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 type="text" />
<input type="date" />
<input type="checkbox" />
<input type="radio" />
<input type="file" />
<input type="password" />
<input type="email" />
<input type="tel" />
<input type="url"/>
<input type="search" />
<input type="color">
<input type="number" />
<input 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
Html5 101
PDF
HTML & CSS 2017
PPTX
HTML all tags .........its to much helpful for beginners
PDF
HTML5 Essentials
KEY
HTML presentation for beginners
PDF
Try Web Components
KEY
The Devil and HTML5
PDF
Selenium for-ops
Html5 101
HTML & CSS 2017
HTML all tags .........its to much helpful for beginners
HTML5 Essentials
HTML presentation for beginners
Try Web Components
The Devil and HTML5
Selenium for-ops

What's hot (19)

KEY
关于 Html5 那点事
PDF
Zen codingcheatsheet
PDF
Front-End Methodologies
PPTX
iPhone Web Applications: HTML5, CSS3 & dev tips for iPhone development
PPTX
Div span__object_があればいい
PPTX
CSS Selector
PDF
4.1 html lec 4
PDF
5.1 html lec 5
PDF
[PyConZA 2017] Web Scraping: Unleash your Internet Viking
PDF
1.1 html lec 1
PDF
Findability Bliss Through Web Standards
PDF
Html tags describe in bangla
KEY
Html5的应用与推行
PDF
Html bangla
PDF
Bangla html
PPTX
計算機概論20161205
PPTX
FYBSC IT Web Programming Unit II Html 5 Tables, Forms and Media
PDF
HTML5 and the web of tomorrow!
PPTX
計算機概論20161212
关于 Html5 那点事
Zen codingcheatsheet
Front-End Methodologies
iPhone Web Applications: HTML5, CSS3 & dev tips for iPhone development
Div span__object_があればいい
CSS Selector
4.1 html lec 4
5.1 html lec 5
[PyConZA 2017] Web Scraping: Unleash your Internet Viking
1.1 html lec 1
Findability Bliss Through Web Standards
Html tags describe in bangla
Html5的应用与推行
Html bangla
Bangla html
計算機概論20161205
FYBSC IT Web Programming Unit II Html 5 Tables, Forms and Media
HTML5 and the web of tomorrow!
計算機概論20161212
Ad

Viewers also liked (7)

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

Similar to Html5 101 (20)

PDF
HTML5, just another presentation :)
PDF
HTML5 - An introduction
PPTX
Html5
PDF
KEY
2022 HTML5: The future is now
PPT
Introduction to html55
PPTX
HTML5 - One spec to rule them all
PPT
Introduction to html5
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
1. Introduction to HTML5.ppt
PPT
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
PPT
HTML5 & Front-end overview
PPT
Introduction to HTML5
PPTX
Science kjadnckj ljnadjc lk cnldj cj nlzkdncaj
PPTX
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
PDF
Lab#2 overview of html
HTML5, just another presentation :)
HTML5 - An introduction
Html5
2022 HTML5: The future is now
Introduction to html55
HTML5 - One spec to rule them all
Introduction to html5
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
1. Introduction to HTML5.ppt
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
HTML5 & Front-end overview
Introduction to HTML5
Science kjadnckj ljnadjc lk cnldj cj nlzkdncaj
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
Lab#2 overview of html

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Cloud computing and distributed systems.
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Encapsulation_ Review paper, used for researhc scholars
Encapsulation theory and applications.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Programs and apps: productivity, graphics, security and other tools
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Cloud computing and distributed systems.
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Reach Out and Touch Someone: Haptics and Empathic Computing
The Rise and Fall of 3GPP – Time for a Sabbatical?
Digital-Transformation-Roadmap-for-Companies.pptx
Approach and Philosophy of On baking technology
Review of recent advances in non-invasive hemoglobin estimation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
The AUB Centre for AI in Media Proposal.docx
Network Security Unit 5.pdf for BCA BBA.
Unlocking AI with Model Context Protocol (MCP)
Encapsulation_ Review paper, used for researhc scholars

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 applications, with powerful APIs for things such as canvas for drawing, drag and drop, offline storage, and native video in the browser.
  • 7. When Will HTML5 Be Ready for Use? 2022 Do I Have to Wait Until 2022 ? NO
  • 8. New Structural Elements in HTML5 ● Old Doctype <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ” http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ● Old Character Encoding <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> ● Old JavaScript and CSS Links ● New Doctype <!DOCTYPE html> ● New Character Encoding <meta charset="utf-8" /> ● New JavaScript and CSS Links <script type="text/javascript" src="script.js"></script> <script src="script.js"></script> <link rel="stylesheet" type="text/css" href="style.css"/> <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 :) --> </body>
  • 11. Header Markup <header> <img alt="my logo" src="logo.png" /> <h1><a href="#">my site</a></h1> </header>
  • 12. Navigation Markup <nav> <ul> <li><a href="#">Home</a></li> <li><a href="#">About</a></li> <li><a href="#">News</a></li> <li><a href="#">Contact</a></li> </ul> </nav>
  • 13. Multi Navigation Markup <nav> <h2>title 1</h2> <ul> <li><a href="#">menu 1</a></li> <li><a href="#">menu 2</a></li> </ul> <h2>title 2</h2> <ul> <li><a href="#">menu 3</a></li> <li><a href="#">menu 4</a></li> </ul> </nav>
  • 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 incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p> </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 incididunt ut labore et dolore magna aliqua.</p> </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 incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </p> </details> <details> <summary>details 2</summary> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </p> </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" = 1, 2, 3,4, 5 type="a" = a, b, c, d, e type="A" = A, B, C, D, E type="i" = i, ii, iii, iv, v type="I" = I, 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 type="text" /> <input type="date" /> <input type="checkbox" /> <input type="radio" /> <input type="file" /> <input type="password" /> <input type="email" /> <input type="tel" /> <input type="url"/> <input type="search" /> <input type="color"> <input type="number" /> <input 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