Issue 45: Invalid HTML markup in examples
Status:  Verified
Owner:
Closed:  Nov 2008
Reported by business...@gmail.com, Oct 20, 2008
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
As far as I know, W3C defines closing <li> tags as optional (but required for xhtml).
It's cleaner to close them, but we should keep some test cases to make sure both
styles work.
Status: Accepted
Oct 29, 2008
#2 andreasblixt
<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
Project Member #3 moo...@wwwendt.de
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
Project Member #4 moo...@wwwendt.de
considered verified
Status: Verified