HTML5 Complete Reference

Last Updated : 3 Apr, 2026

HTML (HyperText Markup Language) is the standard language used to create and design web pages. It defines the structure and layout of a webpage using a series of elements and tags.

  • HTML5 is the latest version of HTML, bringing significant improvements for building modern web applications.
  • It introduces new semantic elements like
    ,
    , and
    for better content organization.
  • HTML5 supports APIs, improved multimedia handling with and , and a more robust Document Object Model (DOM) for interactive web experiences.
html

<html lang="en">
<head>
    <title>title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            margin-top: 50px;
        }
        h1 {
            color: #2c3e50;
        }
        p {
            color: #34495e;
        }
    style>
head>
<body>
    <h1>Welcome to HTML5!h1>
    <p>The current year is 2026.p>
body>
html>