Validating Your Code

One great way to find errors on a page Image is to run it through a validator Image. An HTML validator compares your code against the rules of the language, displaying errors or warnings for any inconsistencies it finds. It will alert you to syntax errors; invalid elements, attributes, and values; and improper nesting of elements Image. It can’t tell if you’ve marked up your content with the elements that best describe it, so it’s still up to ...

Get HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.