summaryrefslogtreecommitdiffstats
path: root/htdocs/docs/errors.html
diff options
context:
space:
mode:
authorVille Skytt? <ville.skytta@iki.fi>2011-12-21 23:36:20 +0200
committerVille Skytt? <ville.skytta@iki.fi>2011-12-21 23:36:20 +0200
commitefd8e5c712d06f0c2615e03dc9a7056d22f19e14 (patch)
treef9b26a433fb99c204da28ae3cfd7735ce58e4c9b /htdocs/docs/errors.html
parent2d9da0aa61b2e6ea5b078e22a179a2c0ab3d8390 (diff)
downloadmarkup-validator-efd8e5c712d06f0c2615e03dc9a7056d22f19e14.zip
markup-validator-efd8e5c712d06f0c2615e03dc9a7056d22f19e14.tar.gz
markup-validator-efd8e5c712d06f0c2615e03dc9a7056d22f19e14.tar.bz2
Regenerated.
Diffstat (limited to 'htdocs/docs/errors.html')
-rwxr-xr-xhtdocs/docs/errors.html20
1 files changed, 14 insertions, 6 deletions
diff --git a/htdocs/docs/errors.html b/htdocs/docs/errors.html
index ab73fbc..5387038 100755
--- a/htdocs/docs/errors.html
+++ b/htdocs/docs/errors.html
@@ -650,12 +650,20 @@
<dt id="ve-247">247: NET-enabling start-tag requires SHORTTAG YES</dt>
<dd><div class="ve mid-247">
<p>
- The sequence &lt;FOO /&gt; can be interpreted in at least two different
- ways, depending on the DOCTYPE of the document. For example for HTML 4.01
- and earlier, the '/' terminates the tag &lt;FOO (with an implied '&gt;').
- However, since many browsers don't interpret it this way, even in the
- presence of a "strict" DOCTYPE, it is best to avoid it completely in pure
- HTML documents and reserve its use solely for those written in XHTML.
+ For the current document, the validator interprets strings like
+ <code class="inline">&lt;FOO /&gt;</code> according to legacy rules that
+ break the expectations of most authors and thus cause confusing warnings
+ and error messages from the validator. This interpretation is triggered
+ by HTML 4 documents or other SGML-based HTML documents. To avoid the
+ messages, simply remove the "/" character in such contexts. NB: If you
+ expect <code class="inline">&lt;FOO /&gt;</code> to be interpreted as an
+ XML-compatible "self-closing" tag, then you need to use XHTML or HTML5.
+ </p>
+ <p>
+ This warning and related errors may also be caused by an unquoted
+ attribute value containing one or more "/". Example:
+ <code class="inline">&lt;a href=http://w3c.org&gt;W3C&lt;/a&gt;</code>.
+ In such cases, the solution is to put quotation marks around the value.
</p>
</div>
<p>