HTML (HyperText Markup Language) is the backbone of every webpage. It provides the semantic structure — headings, paragraphs, links, images, forms — that browsers render into a visual page. HTML is not a programming language; it is a markup language that describes content.
HTML Document Structure
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Page Title</title>
</head>
<body>
<h1>Hello World</h1>
<p>This is a paragraph.</p>
</body>
</html>
Key HTML5 Semantic Elements
<header>,<nav>,<main>,<article>,<aside>,<footer>— Document regions.<section>— Thematic grouping of content.<figure>/<figcaption>— Images with captions.<time>— Machine-readable dates.
HTML and SEO
- Use one
<h1>per page for the main heading. - Add descriptive
altattributes to all images. - Structure headings hierarchically: H1 → H2 → H3.
- Use semantic elements so search engines understand your content.