![]() |
|
|
|
#1 |
|
On Nov 2, 9:32*am, Ben C <spams...@spam.eggs> wrote:
> > When authoring HTML documents, you cannot rely on initial values. > > Also true. Well, e.g. you have this bloody statement on top of your html file: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> Does the browser really need that??? Does the browser really look it up??? Or is he just interested in the words "strict", "transitional", "loose", "frameset", "xhtml" and "html"? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> The given url - I guess the browsers all over the world can not really look it up. It's just a hint. Damn it - because if you could add a dtd file url with initial values which you could manipulate than - "Than what??!" Jan C. Faerber |
|
|
|
|
#2 |
|
Posts: n/a
|
On Nov 2, 11:15*pm, Ben C <spams...@spam.eggs> wrote:
> > Or is he just interested in the words "strict", "transitional", > > "loose", "frameset", "xhtml" and "html"? > > Most browsers just do a bit of pattern matching on that to decide > whether to use quirks mode or not. > > [...] > The DTD doesn't contain initial values (or default styles). It's > something else altogether-- tells you what kind of tags you can use and > how you can nest them and other stuff Korpela will know more about. > > But browsers don't really use them for anything in practice except > quirks mode switching. Ok - thanks Ben! Jan C. Faerber |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Backlight dimming not working on Vaio after OEM install of Windows | Ron | Computer Support | 4 | 11-14-2006 06:27 PM |
| AOL working, Internet Explorer not working | Paul Welch | Computer Support | 3 | 08-13-2006 12:29 AM |
| IE Working Offline Issue | Bill E. | Computer Support | 0 | 07-14-2006 06:48 PM |
| Medical PALM pilot programs (AKA PDA programs) in full working versions. | vvcd | Computer Support | 0 | 06-20-2006 07:18 AM |
| iPod Shuffle Working? | =?Utf-8?B?U3R1YXJ0IE1jRmFybGFuZQ==?= | Windows 64bit | 1 | 08-08-2005 11:25 AM |