OZONE Asylum
Forums
Stupid Basic HTML
smash the mac
This page's ID:
9546
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
To tell the browser that that's where the DTD for your page is. That doesn't mean the browser has to download it. If it did mean that, then that particular URL would get millions of hits per day, putting the w3c site down entirely. Browsers are made to recognize common DTDs at the time of their creation. If they see a URL for a DTD they understand, then they know what sort of document to expect. The fact that the presence of a DOCTYPE definition makes a browser behave differently has less to do with what's behind the URL in the DOCTYPE, and more to do with the fact that the user specified it at all. The presence of a DOCTYPE switching the browser into "standards" mode doesn't rely on the contents of the URL. The URL simply has to be one that the browser understands, and then the browser assumes that the author knew what they were doing, so it renders the page correctly instead of following old, non-standard "quirks." In any case, the point is, you don't need to be able to connect to the URL, or even to the internet at all, for a DOCTYPE to take effect. [edit: by the way, this means that if you make a copy of the DTD at that URL, put it up on your own web site, and then use *that* URL for the DTD, the browser will *not* enter standards-compliant mode. It will assume it's either not a valid DTD, or not one that it knows about.] [This message has been edited by Slime (edited 10-22-2002).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »