Building web pages that comply with web standards has always been a topic of discussion with VeVb.com. Then do you remember to close all XHTML elements? Some elements in HTML are not necessary to be closed. When the next element starts, the previous element is automatically closed. This is not allowed in XHTML. All elements must be closed even if there is no content in it (such as <img>). Only such page editing complies with the web standards.
mistake:
<li>Item 1
correct:
<li>Item 1</li>
mistake:
<p>Lorem ipsum dolor sit amet, consistetuer apiscing elit.
correct:
<p>Lorem ipsum dolor sit amet, consectetuer apiscing elit.</p>
mistake:
<br>
correct:
<br />
mistake:
<img src=image.jpg alt=>
correct:
<img src=image.jpg alt= />
Wrong practices should be avoided 100%. As always, keep all your marks off.