HTML5 introduces several new features that reduce the need for plugins, make error handling easier, and allow for more semantic markup. Some key features include the <canvas> element for drawing, <video> and <audio> elements for media playback, and local storage support. HTML5 also includes new form controls and content elements like <article>, <header>, <nav>, and <section>. The <figure> element specifies self-contained content like images. HTML5 aims to be device-independent and have a more visible development process.
4. Some Rule .
The need for external plugins (like Flash)
should be reduced
Error handling should be easier than in
previous versions
Scripting has to be replaced by more markup
HTML5 should be device-independent
The development process should be visible
to the public
5. HTML5 - New Features
Some of the most interesting new features in
HTML5 are:
The <canvas> element for 2D drawing
The <video> and <audio> elements for
media playback
6. HTML5 - New Features
Support for local storage
New content-specific elements, like
<article>, <footer>, <header>, <nav>,
<section>
New form controls, like calendar, date, time,
email, url, search
11. <Figure>
The <figure> tag specifies self-
contained content, like illustrations,
diagrams, photos, code listings, etc.
12. <Figure>
HTML5
<figure>
<img src=/slideshow/html5-34473353/34473353/"path/to/image" alt="About image" />
<figcaption>
<p>This is an image of something interesting. </p>
</figcaption>
</figure>
HTML
N/A
13. Type Links & Js
HTML5
Not necessary
<script src=/slideshow/html5-34473353/34473353/"path/to/script.js"></script>
HTML
Necessary
<script src="path/to/script.js
type=text/javascript></script>
14. IDs & Classes
HTML5
Not necessary
<p class=myClass id=someId>
HTML
Necessary
<p class=myClass id=someId>
19. html5 Recursiveness
HTML5 allows for multiple sections and articles
within a single page. Each section/article can have
its own header, footer, aside and nav.
20. Required
The required attribute is a boolean attribute.
HTML5
<input type="text" name="someInput" required>
HTML
N/A
26. Video
HTML5
<video controls preload>
<source src=/slideshow/html5-34473353/34473353/video.ogv" type="video/ogg" />
<source src=video.mp4" type="video/mp4/>
<p> Your browser is old. <a
href=video.mp4">Download this video instead.</a>
</p>
</video>
HTML
N/A