← Lesson
BitWithBite
HTML · Quick Reference

Lesson 2 — Introduction to HTML Cheat Sheet

HTML
In one line: HTML stands for HyperText Markup Language. Let's break that down:

Key Ideas

1What is HTML?. HTML stands for HyperText Markup Language. Let's break that down:
2A Brief History of HTML. HTML was invented by Tim Berners-Lee at CERN in 1991. He needed a way to share research documents over a network — and HTML was born. Here's the quick timeline:
3Anatomy of an HTML Tag. Everything in HTML is built from tags. A tag is a keyword wrapped in angle brackets. Tags usually come in pairs: an opening tag and a closing tag. The content goes bet...
4Your First HTML Document. Every HTML file follows the same skeleton. Here's the minimal structure every HTML document must have:
5HTML5 — The Modern Standard. HTML5 (the current version) was a major overhaul that added powerful new capabilities. The key improvements over older HTML:

Code Examples

<!-- This tells the browser we're using HTML5 --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My First W...
<!DOCTYPE html> <html lang="en"> <head> <style> /* CSS — styles the button */ button { background: #ef4444; color: white; padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; } </style> </hea...