Introduction
HTML (HyperText Markup Language) is the foundation of every web page. It defines the structure and content of a document using elements.
Basic Structure
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Page Title</title>
</head>
<body>
<h1>Hello, World!</h1>
</body>
</html>
Common Elements
<h1>–<h6>: Headings<p>: Paragraph<a href="url">: Link<img src="path" alt="description">: Image<ul> / <ol>: Lists<div>: Generic container<span>: Inline container<form>: Form
Semantic HTML5 Elements
<header>…</header>
<nav>…</nav>
<main>…</main>
<section>…</section>
<article>…</article>
<aside>…</aside>
<footer>…</footer>