Tag Archives: XHTML Validation

XHTML Validation

With DTD how to Validate XHTML An XHTML document is validated against a Document Type Definition (DTD). A proper DTD must be added as the first line of the file,before validating properly an XHTML file. The┬áStrict DTD includes all non-deprecated elements and attributes or those which donot appear in framesets: <!DOCTYPE html PUBLIC”-//W3C//DTD XHTML 1.0 […]