Preserved Topic: !DOCTYPE |
|
---|---|
Author | Thread |
Neurotic (0) Inmate Newly admitted |
posted 12-09-2001 17:48
Ok this may sound a bit stupid, but do you think that a website actually "needs" a Doctype? If so then how do you decide what type yours needs to be? |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 12-09-2001 21:33
technically you 'need' it, because unix servers don't use extensions to determine the type of file you're reading, so this is your way of telling the server "hey! I'm a webpage! Don't run me, just send the text! |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 12-10-2001 00:51
it also is defined in the w3c guidelines. |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 12-10-2001 09:13 |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 12-10-2001 22:07
Petskull, UNIX servers are not stupid. That line isn't used for that (Apache, the most widely used web server on *NIX platform uses information from MIME configuration file to determinate file type). |
Neurotic (0) Inmate Newly admitted |
posted 12-11-2001 03:27
Max |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 12-11-2001 08:19 |
Neurotic (0) Inmate Newly admitted |
posted 12-11-2001 16:27
Thanks max =) |