| Issue 45: | Invalid HTML markup in examples | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Just have a look at the examples. All <li> elements are not closed properly, resulting in an invalid HTML markup. What is the expected output? What do you see instead? N/A What version of the product are you using? N/A On what operating system and browser? N/A I'd suggest to correct the examples, to avoid possible issues in the future.
Oct 20, 2008
Project Member
#1
moo...@wwwendt.de
Status:
Accepted
Oct 29, 2008
<ul> <li>Item #1 <li>Item #2 </ul> The above is valid HTML 4.0 (while XHTML 1.0 requires that all elements are closed.) However, the samples use the short-hand closed tags (<tag /> instead of <tag></tag>) which is invalid HTML 4.0 (but valid XHTML 1.0.) They are used on <link> tags which should not be closed at all in HTML 4.0 (so <link ... type='text/css'>, not <link ... type='text/css' />) Another minor thing is the use of id's that start with a number, which is not allowed by the HTML standard. Test cases for both document types wouldn't really be necessary as once it's in the DOM, there's no difference. However, it would be nice if all the documents were written to be compliant with one document type (such as XHTML 1.0 Strict.)
Nov 16, 2008
Validated the doc and examples as html 4.01 strict. (There is still issue #54 remaining.)
Status:
Fixed
Owner: moo...@wwWendt.de Labels: Milestone-Release0.3
Jul 17, 2012
considered verified
Status:
Verified
|