Re: parse error for valid language tag for script element

On Mon, Dec 02, 2002 at 10:26:14AM +0100, Vincent Quint wrote:
> 
> I think Amaya is right. Attribute language is not allowed on element script
> in HTML 4.01, according to the DTD:
> 
>    http://www.w3.org/TR/html401/sgml/dtd.html
> 
> The HTML 4.01 specification clearly states that this attribute has been
> deprecated in favor of type:
> 
>    http://www.w3.org/TR/html401/interact/scripts.html#adef-language

The document in question claims to be HTML 4.01 Transitional, not
Strict.  The Transitional DTD allows the deprecated language attribute.

-- 
Brian

Received on Monday, 2 December 2002 07:16:18 UTC