![]() Preserved Topic: !DOCTYPE (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted |
![]() 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 |
![]() 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 |
![]() it also is defined in the w3c guidelines. |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() 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 |
![]() Max |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Neurotic (0) Inmate Newly admitted |
![]() Thanks max =) |