HTML5

HTML5 Complete Reference

This complete reference summarizes the major feature areas that make up HTML5. Each area represents a group of related elements or APIs that together define what modern HTML5 can do. Use it as a map of the topics to explore in depth.


HTML5 Feature Areas at a Glance

FeatureDescription
Semantic ElementsStructural tags like <header>, <nav>, <section>, <article>, <aside>, <main>, and <footer> that describe meaning.
Media ElementsNative audio and video with <audio>, <video>, <source>, and <track> — no plugins required.
Graphics<canvas> for scriptable 2D drawing and inline <svg> for scalable vector graphics.
FormsNew input types (email, url, date, number, range, color) plus <datalist>, <output>, <progress>, and <meter>.
Web StorageClient-side key/value storage via localStorage and sessionStorage, plus IndexedDB for larger data.
Custom Datadata-* attributes for attaching custom data, read in JS via the dataset property.
JavaScript APIsGeolocation, Drag and Drop, Web Workers, History API, and more.
Offline & PWAService Workers and the Cache API power offline apps (replacing the deprecated AppCache).

The Foundation: Doctype and Structure

Every HTML5 document starts with the simple <!DOCTYPE html> declaration and a clear semantic structure. Mastering the feature areas above lets you build accessible, interactive, and offline-capable web pages.

The HTML5 starting point
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>HTML5 Reference</title>
</head>
<body>
  <!-- Semantic structure, media, forms, and APIs go here -->
</body>
</html>
💡

Explore each feature area as its own topic. Start with semantic elements and forms, then move on to media, storage, and the JavaScript APIs.

Ready to use your HTML skills?

Find web development internships and fresher jobs across India.

Browse Web Dev Internships