To convert a Web site from HTML to XHTML, you should be familiar with the XHTML syntax rules of the previous chapters. The Below steps were executed (in the order listed below):
Add DOCTYPE to the first line of every page:
Hint: Your pages must have a DOCTYPE declaration if you want them to validate as correct XHTML.
Replace all uppercase tags with lowercase tags and attribute names.
quoted every attribute values
Empty tags are not allowed in XHTML. The <hr> and <br> tags should be replaced with <hr /> and <br />.
Do a general "find-and-replace" function to swap the tags.
IMPORTANT Compatibility Note:
To make your XHTML compatible, you should add an extra space before the "/" symbol.
Your Query was successfully sent!