It encourages you to write clean markup while styling your content with CSS. No deprecated tags should be used.
The rule about having a "slash" at the end of a tag that normally doesn't use a closing tag is the fact that "all tags should be closed". So for the <br> tag, in xhtml you would write it like <br />. Alternatively you can write it <br></br> .. i think ..
Other rules that apply to xhtml are that <img /> tags should alwayd have an alt attribute to comply with text-only browsers.
You can still write bad markup and it will work but if you have specified a doctype of XHTML 1.0 and have written your code according to the HTML 4.01 standards, it will not validate according to the W3C HTML Validator.
HTML and XHTML are parsed by the client's browser, so webhosts don't need special software in order to display XHTML.
I hope i have helped in some way and enlightened you all about XHTML
Dan.


