At the heart of any site, at the heart of the web, is markup. It’s what browsers see, it’s what search engines see, and it’s what we as developers look at day in and day out. Writing clean, meaningful markup has many benefits:
• It makes our code much easier to maintain—for us and for other developers months or years after we’ve gone.
• It can help search engines index and rank our sites.
• It can help users find content on our pages more easily.
• It helps make more web content more accessible to people with disabilities.
In this chapter, we’ll look at some of the techniques, practices, and technologies that can help us produce cleaner, more maintainable markup that is easy for browsers, search ...