Common XHTML Errors
The list below contains the most common XHTML coding errors. Remember
that most of these errors will not keep your pages from displaying correctly
in your browser, but will keep them from validating.
1. | All pages must start with the DOCTYPE declaration.
|
2. | All tags must be lower case.
|
3. | All attributes must be lower case.
|
4. | All tags must be closed.
|
5. | All attribute's values must be in quotes.
|
6. | Tags that don't have a closing tag use a "/" at the end. Examples include <br /> and <hr />.
|
7. | Nested tags must not overlap.
|
8. | All <img> tags must have an "alt" attribute.
|