Re: Why Are certain META Tags Being Ignored?

Hi,

> I was just wondering why META tags like:
>
> <META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript;">
>
> are being ignored by the HTML Validation Service?

They are not being ignored.  The declaration of the default scripting
language is needed for intrinsic events (specified with "onload",
"onsubmit", etc.).

> For example see:
>
> http://validator.w3.org/check?uri=http://www.wyldeside.com/
>
> I only ever use one type of scripting language on a page and I
> followed the standard as described at:
>
>
http://www.w3.org/TR/1998/REC-html40-19980424/interact/scripts.html#h-18.2.1
>
> See "18.2.2 Specifying the scripting language" for exact details.
>
> If the validator did acknowledge this META tag then my page would
> be a valid HTML 4.0 Transitional document.

No, it wouldn't.  The TYPE-attribute is required for each SCRIPT-element, as
specified in
<http://www.w3.org/TR/REC-html40/interact/scripts.html#edef-SCRIPT>.

Best wishes,

Clemens

--
Clemens Radl
Universitaet Tuebingen
Abteilung fuer mittelalterliche Geschichte

Received on Monday, 4 June 2001 06:46:48 UTC