Section 1: Lab: Getting Started with HTML5 and the Tools
- HTML5 and CSS today, and checking browser support on MDN
- Install VS Code and Live Server, and inspect pages with DevTools
- The basic HTML5 template: doctype, html lang, meta charset and viewport
- Lab: a first page that works on both computers and phones
Section 2: Lab: Semantic Page Structure
- header, nav, main, section, article, aside and footer
- Heading order and landmarks that help screen reader users
- figure, figcaption, time and image alt text
- Lab: an article page and a website home page structure
Section 3: Lab: HTML5 Forms
- Input types: email, url, tel, number, range, color, date, time and search
- required, pattern, min, max, placeholder and autocomplete
- Built-in browser validation, and why the server must validate again
- Lab: a registration form that checks its own input
Section 4: Lab: Audio and Video in HTML5
- The video and audio elements with controls, poster and preload
- Several file formats with source and MIME types such as MP4 and WebM
- Captions and subtitles with track and WebVTT files
- Lab: a product video page with Thai captions
Section 5: Lab: Selectors, Colours and Box Effects
- Class, attribute, pseudo-class and pseudo-element selectors
- hex, rgb and hsl colours, opacity and custom properties
- border-radius, box-shadow, text-shadow and layered gradients
- Lab: product cards and buttons with depth
Section 6: Lab: Transforms, Transitions and Animation
- Transforms and transitions: duration, timing function and delay
- Keyframe animation with @keyframes and animation
- Respect users who prefer less motion with prefers-reduced-motion
- Lab: menus and cards that respond to hover and tap