iwantcoding.com
🔥 Daily 👥 Rooms 🏆 Top Log in Sign up
« Previous

HTML HOME

HTML is the markup language of the web. Every page you see started as HTML that the browser parsed, styled with CSS, and made interactive with JavaScript.

A minimal HTML5 page

EXAMPLE
<!DOCTYPE html>
<html lang='en'>
<head>
  <meta charset='UTF-8' />
  <meta name='viewport' content='width=device-width, initial-scale=1' />
  <title>My first page</title>
  <meta name='description' content='A tiny HTML5 example.' />
</head>
<body>
  <header>
    <h1>Hello, web</h1>
    <nav>
      <a href='#about'>About</a>
      <a href='#contact'>Contact</a>
    </nav>
  </header>

  <main>
    <article>
      <h2>Why HTML matters</h2>
      <p>HTML gives content structure and meaning. Browsers, screen readers, and search engines all read it.</p>
    </article>
  </main>

  <footer>
    <small>&copy; 2026 You.</small>
  </footer>
</body>
</html>

Why it matters

Always start with , set a charset, set a viewport, and use semantic elements (header, main, footer, article, nav). These four habits get you halfway to a fast, accessible, SEO-friendly page.

Tip: Tweak the snippet with Try it Yourself », then sit the quiz at the bottom of the page.

Example

Example
<!DOCTYPE html>
<html>
<head>
    <title>HTML HOME</title>
</head>
<body>

<h1>HTML HOME</h1>
<p>This is a demo page for the "HTML HOME" lesson.</p>

</body>
</html>
Try it Yourself »

Exercise

Name the green button that opens the live editor on every lesson page.

Click:

Test yourself

Q1. Where on every lesson page is the runnable example?
Q2. What tracks your progress through the tutorial?
Q3. A good order to learn HTML is…

Discussion

Loading…

« Previous