HTML Introduction

Learn what HTML is and why it is the foundation of every web page.

Syntax<tagname>content</tagname>

HTML stands for HyperText Markup Language. It is the standard language used to create and structure content on the web.

HTML is not a programming language — it is a markup language. It uses tags to tell the browser how to display text, images, links, and other content.

What you can do with HTML

  • Describe the structure of a web page.
  • Add headings, paragraphs, lists, links, and images.
  • Build forms, tables, and interactive content.

Every website you visit — from a simple blog to a large app — is built on HTML.

Example

Try it yourself
Loading editor…
Press Run to see the result.

When to use it

  • A developer writes HTML to structure the homepage of a small business website.
  • A content team uses HTML to mark up blog articles so browsers display headings and paragraphs correctly.
  • A student creates a personal portfolio page using HTML as the skeleton before adding CSS styles.

More examples

Minimal HTML page skeleton

Shows the minimum boilerplate needed for a valid HTML document.

Example · html
<!DOCTYPE html>
<html lang="en">
<head>
  <title>About HTML</title>
</head>
<body>
  <h1>What is HTML?</h1>
  <p>HTML is the language of the web.</p>
</body>
</html>

Tags wrap meaningful content

Demonstrates that opening and closing tags wrap content to describe its role to the browser.

Example · html
<h2>Our Services</h2>
<p>We build <strong>fast</strong> and <em>accessible</em> websites.</p>
<ul>
  <li>Web design</li>
  <li>SEO</li>
</ul>

Multiple content types on one page

Combines text, an image, and a link to show HTML's role as a multi-media structure language.

Example · html
<!DOCTYPE html>
<html lang="en">
<head><title>Portfolio</title></head>
<body>
  <h1>Jane Doe</h1>
  <img src="avatar.jpg" alt="Jane">
  <p>Full-stack developer based in Berlin.</p>
  <a href="contact.html">Contact me</a>
</body>
</html>

Discussion

  • Be the first to comment on this lesson.
HTML Introduction — HTML | SoundsCode