HTML Introduction
HTML stands for HyperText Markup Language. It is the standard markup language for documents designed to be displayed in a web browser.
How HTML fits in
An HTML document is plain text. The browser reads the tags, builds a structured tree of elements (the DOM), and paints the result on the screen.
What HTML can do
- Mark up text as headings, paragraphs, lists, quotes.
- Embed images, video, audio, and other media.
- Link documents together with hyperlinks.
- Collect input through forms.
- Describe document semantics for search engines and screen readers.
Note: HTML is a markup language, not a programming language. It has no variables, loops, or conditionals — it only describes structure.
Example
Example
<!DOCTYPE html>
<html>
<head>
<title>HTML Introduction</title>
</head>
<body>
<h1>HTML Introduction</h1>
<p>This is a demo page for the "HTML Introduction" lesson.</p>
</body>
</html>
Try it Yourself »
Exercise
Add an <h1> heading with the text "My First Page" inside the body.
<!DOCTYPE html>
<html>
<body>
</body>
</html>
Wrap the text in an <h1> tag.
Discussion
Loading…