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

Chapter 5. Defining XHTML Syntax > Designing for the Real World

Designing for the Real World

Troubleshooting Your Markup

The biggest benefit to looking at your code closely is that you're bound to catch other mistakes before they become glaring errors. When you're coding by hand, it's easy to put a closing tag in the wrong syntactical order (<b/> instead of </b>) or using the >, instead of the < when you're typing quickly. In a large block of text, however, you might not notice the typo right away.

XHTML actually provides the opportunity for authors to create very streamlined, clean, error-free markup. Look carefully at your elements, attributes, and values. And, follow good XHTML coding practices. We'll take a look at the importance of well-formed documents in Chapter 6, which will aid you in writing trouble-free XHTML for the Web and beyond.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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