Learn how websites are made — by ComputersBlog
Welcome to HTML for Beginners. Read each lesson carefully, then answer the quiz. Use the editor on the right to experiment.
HTML stands for HyperText Markup Language. It is used to create the structure of websites.
HTML is not programming. It tells the browser what content is.
HTML uses tags. Tags wrap content.
<p>Hello</p>
Most tags have an opening and closing tag.
Headings show importance. Use only one <h1> per page.
<h1>Main Title</h1>
<h2>Section</h2>
<h3>Sub-section</h3>
Paragraphs are created using <p>.
<p>This is text.</p>
Formatting text:
<strong>Bold</strong>
<em>Italic</em>
Links are created using the <a> tag.
<a href="https://example.com">Visit site</a>
Images use the <img> tag.
<img src="image.jpg" alt="Description">
The alt text is important.
<ul>
<li>HTML</li>
</ul>
<ol>
<li>Step one</li>
</ol>
<!DOCTYPE html>
<html>
<head></head>
<body></body>
</html>
Build a page with:
If something breaks, fix it. That’s how real developers learn 💪