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

Chapter Six. XHTML: Restructuring the Web > Quote All Attribute Values

Quote All Attribute Values

In HTML, you needn't quote attribute values, but in XHTML, they must be quoted (height="55", not height=55). That's pretty much all there is to say about this one. La de da. Nice weather we're having.

Okay, here's something else worth mentioning. Suppose your attribute value includes quoted material. For instance, what if your alt attribute value must read, “The Happy Town Reader's Theater Presents 'A Christmas Carol.'” How would you handle that? You would do it like this, of course:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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