HTML Tutorial
The standard markup language for creating web pages. Learn it step by step with 51 short lessons, live code examples and 255 quiz questions.
51
lessons
255
quiz questions
5
sections
What you'll learn in this HTML tutorial
Every topic ends with a short quiz — score 70% to unlock the next one.
HTML Tutorial · 39 lessons
- 1. HTML Introduction What HTML is and how a web page is structured.
- 2. HTML Editors Write HTML with a simple text editor and view it in a browser.
- 3. HTML Basic Basic building blocks: headings, paragraphs, links and images.
- 4. HTML Elements Start tags, end tags, nesting and empty elements.
- 5. HTML Attributes Give elements extra information with attributes.
- 6. HTML Headings Titles and subtitles with <h1> to <h6>.
- 7. HTML Paragraphs Paragraphs, line breaks, horizontal rules and preformatted text.
- 8. HTML Styles Change colors, fonts, sizes and alignment with the style attribute.
- 9. HTML Formatting Bold, italic, marked, deleted, subscript and more.
- 10. HTML Quotations Quotes, abbreviations, addresses and citations.
- 11. HTML Comments Leave notes in your code that the browser ignores.
- 12. HTML Colors Color names, RGB, HEX and HSL values.
- 13. HTML CSS Inline, internal and external CSS.
- 14. HTML Links Hyperlinks, targets, and linking to email and sections.
- 15. HTML Images Embed images with src, alt, width and height.
- 16. HTML Favicon The small icon shown in the browser tab.
- 17. HTML Page Title Why the <title> element matters.
- 18. HTML Tables Arrange data into rows and columns.
- 19. HTML Lists Unordered, ordered and description lists.
- 20. HTML Block & Inline Block-level vs inline elements.
- 21. HTML Div The <div> container element.
- 22. HTML Classes Style many elements with the class attribute.
- 23. HTML Id Unique ids for single elements.
- 24. HTML Buttons Clickable buttons with <button>.
- 25. HTML Iframes Display a web page inside a web page.
- 26. HTML JavaScript Make pages dynamic with <script>.
- 27. HTML File Paths Absolute and relative paths to files.
- 28. HTML Head Metadata: title, style, link, meta, script and base.
- 29. HTML Layout Semantic layout elements and techniques.
- 30. HTML Responsive Pages that look good on every device.
- 31. HTML Computercode Keyboard input, program output, code and variables.
- 32. HTML Semantics Elements that describe their meaning.
- 33. HTML Style Guide Write clean, consistent HTML.
- 34. HTML Entities Reserved characters like < > & and non-breaking spaces.
- 35. HTML Symbols Math, Greek and other symbols.
- 36. HTML Emojis Emojis are characters from the UTF-8 set.
- 37. HTML Charsets Character encoding and UTF-8.
- 38. HTML URL Encode How URLs are structured and encoded.
- 39. HTML vs. XHTML The stricter, XML-based version of HTML.
HTML Forms · 5 lessons
- 40. HTML Forms Collect user input with forms and input fields.
- 41. HTML Form Attributes action, method, target and autocomplete.
- 42. HTML Form Elements select, textarea, button, fieldset and datalist.
- 43. HTML Input Types text, email, number, date, color, range and more.
- 44. HTML Input Attributes value, placeholder, required, min, max, pattern…
HTML Graphics · 2 lessons
HTML Media · 3 lessons
Ready to learn HTML?
Create your account, unlock every lesson and quiz, earn points on the leaderboard and join our in-person classes.
Create free account