W3C home > Mailing lists > Public > www-validator@w3.org > June 2006

RE: Error Message Feedback

From: Dean Bell \(Volt\) <a-debell@microsoft.com>
Date: Mon, 26 Jun 2006 10:27:11 -0700
Message-ID: <573F873812D1D4469D6634290B6DC2BB0AD39BE0@RED-MSG-51.redmond.corp.microsoft.com>
To: "Liam Quinn" <liam@htmlhelp.com>
Cc: <www-validator@w3.org>

I never took into account the DOCTYPE.  I will inform my dev dept.
Thanks for the info!

Dean


-----Original Message-----
From: Liam Quinn [mailto:liam@htmlhelp.com] 
Sent: Friday, June 23, 2006 8:02 PM
To: Dean Bell (Volt)
Cc: www-validator@w3.org
Subject: Re: Error Message Feedback

On Fri, 23 Jun 2006, Dean Bell (Volt) wrote:

> That my </HEAD> tag is already closed when
> it's not.

In HTML, the </HEAD> tag is optional.  It is implied by any tag that
could
only appear in the BODY.  It's also implied by loose text in the HEAD.  
Also note that XML-style empty tags of the form <foo /> have a different
meaning in HTML than in XHTML; using /> endings in the HEAD of an HTML
document will implicitly close the HEAD.

> 1.	Line 33 column 13: there is no attribute "NAME".
> 
>        <form name="aspnetForm" 
> 
> "name" is very much an allowed attribute and required in my company.

The "name" attribute is not present for "form" in HTML 4.0, but it is
present in HTML 4.01.  If your DOCTYPE specifies HTML 4.0, change it to
4.01.

> 1.	Line 3086 column 40: an attribute value must be a literal unless
> it contains only name characters.
> 
>                         <table width=100% cellpadding="0"
> cellspacing="0">
> 
> It's my understanding that "100%" is a valid value for "width" and
that
> quotes are not required.

"In certain cases, authors may specify the value of an attribute without

any quotation marks. The attribute value may only contain letters (a-z
and 
A-Z), digits (0-9), hyphens (ASCII decimal 45), periods (ASCII decimal 
46), underscores (ASCII decimal 95), and colons (ASCII decimal 58). We 
recommend using quotation marks even when it is possible to eliminate 
them."
  http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2

Quotes are required for attribute values that include "%".

-- 
Liam Quinn
Received on Monday, 26 June 2006 17:27:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:22 GMT