Html5: By: Namita Singh
Html5: By: Namita Singh
INTRODUCTION
VERSIONS OF HTML
YEAR
VERSION
1991
HTML
1993
HTML+
1995
HTML2.0
1997
HTML3.2
1999
HTML4.01
2000
XHTML
2012
HTML5
2013
XHTML5
EXAMPLE
AUDIO
<!DOCTYPE html>
<html>
<body>
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
VIDEO
<!DOCTYPE html>
<html>
<body>
<video width="320" height="240" autoplay>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
</body>
</html>
</body>
</html>
SEMANTIC ELEMENTS
TAG
DESCRIPTION
<header>
<nav>
<article>
<section>
<aside>
<footer>
PAGE LAYOUT
FORM ELEMENTS
TAG
DESCRIPTION
<datalist>
<keygen>
<output>
Continued.
Example
<br><br>
0
<input type="range" id="a" name="a" value="50">
100 +
<input type="number" id="b" name="b" value="50">
=
<output name="x" for="a b"></output>
<input type="submit">
</form>
</body>
</html>
HTML5 CANVAS
HTML5 SVG
SVG has several methods for drawing paths, boxes, circles, text,
and graphic images.
Accesibility
DOCTYPE
Cleaner code
Smarter Storage
Better Interactions
Game Development
Mobile,Mobile,Mobile!
THANK YOU