Building a Navigation Menu
A menu is a list of links inside a nav element. Learn the markup that makes it accessible, how to mark the current page, and how a dropdown should be...
The HTML markup language.
113 notes tagged
A menu is a list of links inside a nav element. Learn the markup that makes it accessible, how to mark the current page, and how a dropdown should be...
The href attribute understands more than web pages. mailto, tel and the download attribute turn a link into an email draft, a phone call or a saved fi...
Link to a spot on the same page with an id and a hash. The basis of tables of contents, skip links, footnotes and back to top links.
The same page, three ways to point at it. Learn how a browser resolves each form, when a leading slash saves you, and why one broken dot breaks an ent...
One element built the web. Learn the href attribute, what makes link text good or useless, the target and rel attributes, and why a link is not a butt...
blockquote, q, cite, abbr, code, pre, kbd and samp. Eight elements that make quoted material and technical text mean what it says.
Six narrow elements that each solve one problem precisely: highlighting a match, fine print, tracked edits, and characters that sit above or below the...
Four elements, two that look bold and two that look italic, and the pairs are not interchangeable. The difference is meaning, and screen readers act o...
The p element is the workhorse of body copy. br and hr look like spacing tools but are content, and using them for layout is the most common beginner...
Headings are the table of contents of your page. Choose the level from where the section sits in the outline, never from how big the text should look.
Parsing, the DOM, style matching, layout and paint. Knowing this pipeline explains why script placement matters, why images need dimensions, and why b...
Set up a folder, save a real .html file, open it in a browser and understand the difference between opening a file and serving it. The workflow every...