You are here: Re: DOCTYPE system id URI needed? « HTML « IT news, forums, messages
Re: DOCTYPE system id URI needed?

Posted by Mark Parnell on 01/31/06 06:49

Deciding to do something for the good of humanity, »Q« <boxcars@gmx.net>
declared in alt.html:

> Is the URI actually necessary?

For validation? No, as long as you are using a known doctype. If you are
using a custom DTD, you will need to provide a URI, otherwise the
validator doesn't know what to check the document against.

For browsers? Not necessary as such, but certainly it can be a good idea
in some cases, depending on the doctype used. A doctype declaration (for
some doctypes, e.g. HTML4.01 Transitional) without a URI can trigger
quirks mode in some browsers. More info:
http://gutfeldt.ch/matthias/articles/doctypeswitch.html

> Desirable?

As above.

> Are there any agents which download it?

Validators will if they don't recognise the doctype. AFAIK no other user
agent would bother.

--
Mark Parnell
=====================================================
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация