What is HTML?

HTML stands for Hyper Text Markup Language. It is the standard markup language for creating Web pages.

<!DOCTYPE html>
<html>
<body>
    <h1>My First Heading</h1>
    <p>My first paragraph.</p>
</body>
</html>

Basic Structure

Every HTML document consists of tags (elements). The basic structure includes the doctype, html, head, and body tags.

Here is a breakdown of the essential components needed to build a web page.

Headings

HTML headings are defined with the <h1> to <h6> tags.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Links are defined with the <a> tag.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.