A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/html/html5-introduction/ below:

HTML5 | Introduction - GeeksforGeeks

HTML5 | Introduction

Last Updated : 11 Jul, 2025

HTML5 is the fifth version of Hypertext Markup Language (HTML), a standard language used to structure webpages. It defines how content on a webpage should be structured and displayed. Here are some key points of HTML5

Here is a simple HTML5 example

HTML
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Simple HTML Page</title>

</head>
<body>

    <header>
        <h1>Hello, World!</h1>
    </header>

    <main>
        <p>This is a simple HTML5 page.</p>
    </main>

    <footer>
        <p>@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved</p>
    </footer>

</body>
</html>
Evolution of HTML

HTML has gone through several changes over the years to keep up with the growing needs of web development. These changes have helped improve website design, functionality, and accessibility. Here's an overview of how it has evolved.

Early Web Browser Development:

HTML 3.2 (1996):

HTML 4.0 (1998) and HTML 4.01 (1999):

New Added Elements in HTML 5

HTML5 introduced several new elements that help structure a webpage better and make it more interactive. These elements not only improve the design but also make the code more readable and accessible. Here are some key elements of HTML5:

Features of HTML5

HTML5 introduces several new elements and attributes to improve web development:

Deprecated Elements in HTML5

HTML5 has removed several outdated elements, replacing them with newer, more flexible solutions:

Removed Elements Use Instead Elements <acronym> <abbr> <applet> <object> <basefont> CSS <big> CSS <center> CSS <dir> <ul> <font> CSS <frame>  None <frameset>  None <noframes>  None <isindex>  None <strike> CSS, <s> or <del> <tt> CSS HTML5 Advantages HTML5 Disadvantages More Example of HTML5 Adding a Video Using the <video> Tag HTML
<html>
<body>
    <h1>HTML5 Video Example</h1>
    <video width="320" height="240" controls>
        <source src="movie.mp4" type="video/mp4">
        Your browser does not support the video tag.
    </video>
</body>
</html>

In this example,

Using the <canvas> Element for Drawing HTML
<html>
<body>
    <h1>HTML5 Canvas Example</h1>
    <canvas id="myCanvas" width="200" height="200"></canvas>
    <script>
        var canvas = document.getElementById("myCanvas");
        var ctx = canvas.getContext("2d");
        ctx.fillStyle = "blue";
        ctx.fillRect(50, 50, 100, 100);
    </script>
</body>
</html>

In this example,

Using the <progress> Element to Show Task Progress HTML
<html>
<body>
    <h1>HTML5 Progress Bar Example</h1>
    <progress value="70" max="100"></progress>
</body>
</html>
Best Practices of Using HTML5 Browser Support for HTML5

Introduction to Client Side and HTML


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4