HTML5_Class_Notes
HTML5_Class_Notes
Introduction to HTML5
HTML5 is the latest version of Hypertext Markup Language, used to create and design web pages.
It introduces new elements, attributes, and features for better web applications.
4. Graphics and Animation: Use of <canvas> and <svg> for rendering graphics.
5. Improved Form Elements: New input types like date, email, range, etc.
6. Offline Capabilities: Offline access with the Application Cache and Web Storage.
Syntax Examples
1. Semantic Elements
<header>
<h1>Welcome to HTML5</h1>
</header>
<article>
<h2>About HTML5</h2>
</article>
<footer>
2. Embedding a Video
</video>
<script>
ctx.fillStyle = 'blue';
</script>