HTML5 tutorial examples

Semantic elements: The article tag example (article)

The article tag example (article)

<!DOCTYPE html> <html lang='en-us'> <head><...

The header tag example (header)

<!DOCTYPE html> <html lang='en-us'> <head><...

The footer tag example (footer)

<!DOCTYPE html> <html lang='en-us'> <head><...

Example with sections in HTML5 (section tag)

<!DOCTYPE html> <html lang='en-us'> <head><...

The aside tag example (aside)

<!DOCTYPE html> <html lang='en-us'> <head><...

Setting up details and summary sections (details and summary tags)

<!DOCTYPE html> <html lang='en-us'> <head><...

The summary tag example (summary)

<!DOCTYPE html> <html lang='en-us'> <head><...

Basic navigation in HTML5 example (nav)

<!DOCTYPE html> <html lang='en-us'> <head><...

The main tag basic example (main)

<!DOCTYPE html> <html lang='en-us'> <head><...