Skip to content
Web Development Tutorial

HTML5 Complete Crash Course for Beginners: Semantic Tags, Forms, Tables & Multimedia

Learn HTML5 from scratch—semantic tags, forms, tables, multimedia, and build your first clean webpage with copy-pasteable code examples.

Eduvalle Team 7 min read 10 views

Introduction: What Is HTML5?

HTML5 is the standard markup language for building web pages. It defines the structure and content of every website you visit. HTML5 introduced semantic elements, native multimedia support, and better form controls—making modern web development cleaner and more accessible.

In this crash course, you will learn the essentials and build a clean, complete webpage by the end. No prior experience is required.

1. The Basic HTML5 Skeleton

Every HTML5 document starts with a simple structure. Copy and paste this into a file named index.html:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>My First HTML5 Page</title>
</head>
<body>
  <h1>Hello, World!</h1>
  <p>This is my first HTML5 page.</p>
</body>
</html>

The <!DOCTYPE html> declaration tells the browser to use HTML5 standards. The <meta viewport> tag makes the page mobile-friendly.

2. Semantic Tags: The Backbone of Modern HTML

Semantic tags describe the meaning of content, not just its appearance. They improve accessibility and SEO.

Common Semantic Tags

  • <header> — top section of a page
  • <nav> — navigation links
  • <main> — primary content
  • <section> — thematic grouping
  • <article> — independent content
  • <footer> — bottom section
<header>
  <h1>My Website</h1>
  <nav>
    <a href="#home">Home</a>
    <a href="#about">About</a>
  </nav>
</header>
<main>
  <section id="about">
    <h2>About Me</h2>
    <p>I am learning web development.</p>
  </section>
</main>
<footer>
  <p>&copy; 2026 My Website</p>
</footer>

3. Tables in HTML5

Tables display structured data. Use <thead>, <tbody>, and <tfoot> for clarity.

<table>
  <thead>
    <tr><th>Name</th><th>Subject</th></tr>
  </thead>
  <tbody>
    <tr><td>Amina</td><td>Math</td></tr>
    <tr><td>Rahim</td><td>Physics</td></tr>
  </tbody>
</table>

4. Forms: Collecting User Input

Forms are essential for interaction. HTML5 provides built-in validation.

<form action="/submit" method="post">
  <label for="name">Name:</label>
  <input type="text" id="name" name="name" required>

  <label for="email">Email:</label>
  <input type="email" id="email" name="email" required>

  <label for="course">Course:</label>
  <select id="course" name="course">
    <option value="web">Web Development</option>
    <option value="ai">AI Tools</option>
  </select>

  <button type="submit">Submit</button>
</form>

Types like email, number, and date give users better mobile keyboards and automatic validation.

5. Multimedia: Audio and Video

HTML5 supports native audio and video without plugins.

<video controls width="400">
  <source src="intro.mp4" type="video/mp4">
  Your browser does not support video.
</video>

<audio controls>
  <source src="song.mp3" type="audio/mpeg">
  Your browser does not support audio.
</audio>

6. Building Your First Clean Webpage

Combine everything into one well-structured page:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>My Clean Webpage</title>
</head>
<body>
  <header>
    <h1>Welcome to My Page</h1>
  </header>
  <main>
    <section>
      <h2>About</h2>
      <p>This page uses semantic HTML5.</p>
    </section>
    <section>
      <h2>Contact</h2>
      <form>
        <input type="email" placeholder="Your email" required>
        <button>Subscribe</button>
      </form>
    </section>
  </main>
  <footer>
    <p>&copy; 2026 Eduvalle</p>
  </footer>
</body>
</html>

Conclusion

You now understand the core building blocks of HTML5: semantic structure, tables, forms, and multimedia. Practice by rebuilding a simple website. In the next tutorial, we will style this page using modern CSS3.


Ready to Launch Your Website Online?

Once you finish building your project locally, you need fast and reliable hosting to put it online. Students and developers can get an automatic 20% discount (code: AR10-5) on their first order at Hostnin NVMe Web Hosting (plans start from ৳149/mo with free SSL and bKash/Nagad support), or view full details in our Eduvalle Student Shop.

Need a Ready-to-Launch Website in 24 Hours?
Whether you are launching an online store, agency, or portfolio without coding from scratch, explore finished, mobile-ready websites with free full setup and 100% code ownership at Nowvelle.
Share Facebook X WhatsApp
E

Eduvalle-এর একাডেমিক টিম: HSC ও ভর্তি পরীক্ষার প্রস্তুতির জন্য যাচাইকৃত নোট ও কুইজ।

Related articles