• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: II Designing and Building > Working with Browsers Part I: DOCTYPE Switchi...

Chapter Eleven. Working with Browsers Part I: DOCTYPE Switching and Standards Mode

How do today's browsers “know” when you've created a forward-compatible site? How can they display your standards-based site correctly when they must also do a decent job of supporting antiquated sites built with outdated methods?

The answer is that most modern browsers use our old friend the DOCTYPE, whose acquaintance we made in Chapter 6, “XHTML: Restructuring the Web to toggle between Standards mode (where your site works as W3C specs say it should) and backward-compatible Quirks mode (so named because old-school sites are authored to the quirks of variously incompatible browsers). If you want to control how your site looks and behaves, this chapter is for you.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint