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

Chapter Eight. XHTML by Example: A Hybri... > Presentation, Semantics, Purity, and...

Presentation, Semantics, Purity, and Sin

How big a standards geek are you? Did you spot the worst sin in our XHTML? The primary offense took place in the first line—namely the use of the outdated bgcolor (background color) attribute to the body element to specify, even in non-CSS browsers, that the page's background color should be white (#ffffff). Here it is again:

<body bgcolor="#ffffff">


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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