KNOWe Learning Module

Learn HTML5

Master modern web markup, semantic elements, and responsive design fundamentals.

Why Learn HTML5?

Semantic Markup

Better meaning and structure for web content

Multimedia Support

Native audio and video capabilities

Responsive Design

Mobile-first approach with flexible layouts

Form Enhancements

Better input types and validation

HTML5 Basics

HTML5 introduces a simplified DOCTYPE and new semantic elements that provide better structure.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>My HTML5 Page</title>
</head>
<body>
  <header><h1>Welcome to HTML5</h1></header>
  <main><p>Main content</p></main>
  <footer><p>© 2026</p></footer>
</body>
</html>

HTML5 Elements & Tags

<header>Page header</header>
<nav>Navigation menu</nav>
<main>Main content</main>
<article>Article content</article>
<section>Content section</section>
<aside>Sidebar content</aside>
<footer>Page footer</footer>

<input type="email"> <input type="tel"> <input type="date">
<input type="number" min="1" max="100"> <input type="range">

HTML5 Forms

<form>
  <label for="name">Name:</label>
  <input type="text" id="name" required>
  <label for="email">Email:</label>
  <input type="email" id="email" required>
  <label for="age">Age:</label>
  <input type="number" id="age" min="18" max="100">
  <button type="submit">Submit</button>
</form>

Semantic HTML

<article>
  <header>
    <h1>Article Title</h1>
    <time datetime="2026-03-30">March 30, 2026</time>
  </header>
  <section>
    <h2>Introduction</h2>
    <p>Article content...</p>
  </section>
</article>

Media Elements

<video controls width="320" height="240">
  <source src="movie.mp4" type="video/mp4">
  Your browser does not support the video tag.
</video>

<audio controls>
  <source src="audio.mp3" type="audio/mpeg">
</audio>

Live HTML Editor

HTML Code

Live Preview

Try Examples:

🎯 Mini Project: Personal Portfolio

Portfolio Code

Portfolio Preview

HTML5 Assessment

1. What is the correct DOCTYPE for HTML5?
2. Which element is used for navigation links?
3. Which input type is best for email addresses?
Complete the quiz and click submit.

Learner Progress

Course Progress0%

Next Steps

  • ✓ Practice building responsive layouts with semantic HTML5
  • ✓ Learn CSS3 for styling and modern animations
  • ✓ Master JavaScript for interactive web applications
  • ✓ Explore accessibility (ARIA) and SEO best practices