![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Just found a funny things.. in HTML4's dtd, http://www.w3.org/TR/html4/strict.dtd language is not valid, i.e. |
#3
| |||
| |||
|
|
howa wrote: Just found a funny things.. in HTML4's dtd,http://www.w3.org/TR/html4/strict.dtd language is not valid, i.e. You're comparing apples and oranges: strict and transitional. |
#4
| |||
| |||
|
|
On Jun 5, 1:19 am, C A Upsdell <cupsd... (AT) upsdell (DOT) invalid> wrote: howa wrote: Just found a funny things.. in HTML4's dtd,http://www.w3.org/TR/html4/strict.dtd language is not valid, i.e. You're comparing apples and oranges: strict and transitional. Oh...I have misread that! So change the topic: Why language is allowed in transitional, but not strict ? |
#5
| |||
| |||
|
|
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... -- Rik Wasmus ...spamrun finished |
#6
| |||
| |||
|
|
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... -- Rik Wasmus ...spamrun finished Interesting questions would be 1. Who created it? Why removed finally? 2. `type` is required even at HTML4 dtd, why people are only using `language`? (Due to incorrect implementation of Dreamweaver / Frontpage for example?) |
#7
| |||
| |||
|
|
Netscape 4 did not support TYPE, so LANGUAGE had to be used until Netscape 4 became extinct |
#8
| |||
| |||
|
|
howa wrote: Netscape 4 did not support TYPE, so LANGUAGE had to be used until Netscape 4 became extinct, and even when it had become extinct, many people continued to use LANGUAGE, perhaps out of habit. |
#9
| |||
| |||
|
|
Scripsit C A Upsdell: Netscape 4 did not support TYPE, so LANGUAGE had to be used until Netscape 4 became extinct Since Netscape only supported JavaScript as the scripting language, no attribute was needed to tell it that the language is JavaScript. |
![]() |
| Thread Tools | |
| Display Modes | |
| |