While I usually enjoy painting a bike shed, and this is one perfect
example of mine being green, the 4.01 specification is from 1999,
which is 12 years ago. While technically closing a <link> tag is
considered a validation error (I tried the html validator of w3c, see
below), in practice the HTML 4.01 standard is really crippled, as are
the other HTML standards from that time. There is no reason what so
ever not to use HTML5 doctype and rules: everything is better for
developers, users and browsers alike. If you still insist on using
HTML 4.01 strict and are going to enforce compliance, I'd rather you
give up being a developer, seek counseling, take medication or
whatever, but keep away from developing web applications. You'll do
yourself, your customers and users a service.

Martijn

 Line 6, Column 54: NET-enabling start-tag requires SHORTTAG YES
      <LINK rel="nofollow" href="http://example.com"; />
✉
The sequence <FOO /> can be interpreted in at least two different
ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict,
the '/' terminates the tag <FOO (with an implied '>'). However, since
many browsers don't interpret it this way, even in the presence of an
HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure
HTML documents and reserve its use solely for those written in XHTML.

 Line 6, Column 55: character data is not allowed here
      <LINK rel="nofollow" href="http://example.com"; />
✉
You have used character data somewhere it is not permitted to appear.
Mistakes that can cause this error include:

putting text directly in the body of the document without wrapping it
in a container element (such as a <p>aragraph</p>), or
forgetting to quote an attribute value (where characters such as "%"
and "/" are common, but cannot appear without surrounding quotes), or
using XHTML-style self-closing tags (such as <meta ... />) in HTML
4.01 or earlier. To fix, remove the extra slash ('/') character. For
more information about the reasons for this, see Empty elements in
SGML, HTML, XML, and XHTML.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to