If you haven't looked into the code yet, you will be surprised at how the two are extremely similar.
For example
Adding an image using HTML:
<img src="images/pic.jpg" >
XHTML
<img src="images/pic.jpg" />
The only difference in this example is the "/"