Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- C A Upsdell
June 4, 2008, 5:19 pmrate this thread
Because it's deprecated, so it will be in many old documents, and while
TRANSITIONING to a new DTD/version, it can be many of them are still not
'caught'/altered. The moment of complete compliance, as soon as you're
done transitioning, you also have replaced all the language attributes
with type-attributes, and you can use STRICT. Using transitional for html
not transitioning is just silly...
Re:Scripsit C A Upsdell:
_version_, and if you wish to do that, you still need that attribute,
since the TYPE attribute does not allow that. (More exactly, the
It was (and still is) possible to write e.g. one SCRIPT element with
This was never a particularly good idea, but that's the story behind
In practice, neither TYPE nor LANGUAGE is needed, since browsers assume
those attributes and with a _wrong_ (e.g., misspelled) value, your
script may well be ignored.
Jukka K. Korpela ("Yucca")
Re:Jukka K. Korpela wrote:
It was actually more complex than that. Netscape 4 was rife with bugs,
some of which appeared in most (or all) versions of Netscape 4, and some
of which appeared only in certain versions. And one of the bugs was
that, when the LANGUAGE attribute was not specified, Netscape would
*sometimes* parse the HTML improperly.
I never did figure out all the factors which led Netscape 4 to misbehave
-- there were SO many -- but I did discover some common factors, and I
developed defensive design techniques which minimized the problems. One
defensive technique was to always include the LANGUAGE attributes. No
doubt there were many cases where it did not matter, but designing
defensively minimized the instances when it did, saving me much time.
- — Previous thread in » HTML Authoring Forum