Register now or log in to join your professional community.
add an xhtml <!DOCTYPE to the first line of every page
add an xmlns attribute to the html element of every page
change all element names to lowercase
close all empty elemnts
quote all attribut values
Just follow the rules of xhtml.
Document Structure
XHTML DOCTYPE is mandatory
The xmlns attribute in <html> is mandatory
<html>, <head>, <title>, and <body> are mandatory
XHTML Elements
XHTML elements must be properly nested
XHTML elements must always be closed
XHTML elements must be in lowercase
XHTML documents must have one root element
XHTML Attributes
Attribute names must be in lower case
Attribute values must be quoted
Attribute minimization is forbidden