XHTML is not very different from the HTML 4.01 standard.
So, bringing your code up to the 4.01 standard is a good start.
In addition, you should start NOW to write your HTML code in lowercase letters, and NEVER skip closing tags (like </p>).
In HTML, some elements can be improperly nested within each other, like this:
In XHTML, all elements must be properly nested within each other, like this:
Note: A common mistake with nested lists, is to forget that the inside list must be within <li> and </li> tags.
This is wrong:
This is correct:
Note: we have inserted a </li> tag after the </ul> tag in the "correct" code example.
Non-empty elements must have a closing tag.
Empty elements must also be closed.
Tag names and attributes must be in lower case.
All XHTML elements must be nested within the <html> root element. Child elements must be in pairs and correctly nested within their parent element.
The basic document structure is:
Your Query was successfully sent!