HTML5 | Introduction (original) (raw)

Last Updated : 13 Jun, 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 `

Simple HTML Page
<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>

`

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
CSS
CSS
CSS
    CSS
    None
    None
    None
    None
    CSS, or
    CSS

    **HTML5 Advantages

    **HTML5 Disadvantages

    **More Example of HTML5

    Adding a Video Using the

    HTML `

    HTML5 Video Example

    `

    In this example,

    Using the Element for Drawing

    HTML `

    HTML5 Canvas Example

    `

    **In this example,

    Using the Element to Show Task Progress

    HTML `

    HTML5 Progress Bar Example

    `

    Best Practices of Using HTML5

    Browser Support for HTML5