Elements and the Page Skeleton
Every page is built from elements: an opening tag, content and a closing tag, with attributes that add details. You will write the skeleton every page starts from, and use the browser's developer tools to see how any page is built.
Updated
Elements, Tags and Attributes
- Elements and Tags (Novice): Every web page is built from elements, boxes with a start tag, content and an end tag, that fit inside each other like boxes inside boxes.
- Attributes (Novice): Attributes add information to an element, such as its language, a tooltip or a name for it, written in the start tag as a name, an equals sign and a value in quotes.
The Page Skeleton
- The Page Skeleton (Novice): Every HTML page starts from the same skeleton, the doctype, an html element with a head and a body, and knowing what each line does saves you from strange bugs.
Developer Tools for HTML
- Developer Tools: Inspecting a Page (Apprentice): Every browser has built-in developer tools that show the page as the browser built it, so you can find any element, see what the browser repaired, and try changes safely.
Exercise: Fix the Coffee Shop Page
- Exercise: Fix the Coffee Shop Page (Novice): Find and fix six mistakes in a coffee shop's home page, using the developer tools to see what the browser made of it, until every test passes.