Find more freelance jobs
|
Empty elements must either have an end tag or the start tag must end with />.
This is wrong:
This is a break<br> Here comes a horizontal rule:<hr> This is correct: This is a break<br/> This is a break too<br></br> Here comes a horizontal rule:<hr/> IMPORTANT Compatibility Note: To make your XHTML compatible with today's browsers, you should add an extra space before the backslash symbol like this: <br /> and this <hr />. Attribute values must be quoted This is wrong: <table rows=3> This is correct: <table rows="3"> Attribute minimization is forbidden This is wrong: <dl compact> <input checked> <option selected> This is correct: <dl compact="compact"> <input checked="checked"> <option selected="selected"> The id attribute replaces the name attribute HTML 4.0 defined the name attribute for the elements a, applet, frame, iframe, img, and map. In XHTML the name attribute is deprecated. Use id instead. |