Outro
What did we learn?
See the forest for the trees: Don’t plant so many trees (write so much markup) that you miss the forest (the purpose). Also: Don’t overuse classes—be mindful and frugal with all markup.
Don’t worry about line breaks: You can use br elements.
Use the i element, and use it appropriately: If you’re informed, there’s no need to avoid i.
Keep an eye on the output: You should have the last word about your markup, not your tooling.
Don’t hide outlines: Don’t.
Know the link types: Be aware of the many different link types for link, a, area, and form elements—for example, search.
Keep your CSS DRY: Avoid repetition, not only in HTML.
Don’t use non-standard markup (like nobr): If you do, you’re not writing HTML.
Use consistent spelling: It makes code easier and more pleasant to read.
Remember figure (and figcaption): These elements have several use cases and come in handy.
⁂
HTML isn’t easy. It’s complex—that’s why so few people write good HTML. May what we covered add to your knowledge, for you to write even better markup. See you in the next episode of Upgrade Your HTML!