|
|
|
| | Home | HTML Guide Start | List of HTML Elements | Next Element | Previous Element | |
|
|
<BASE>Base provides absolute URL for relative URL |
|
|
Provides a means of specifying a "reference point" to be used when trying to resolve "relative" URL addresses in a page.
<html>
<head>
<title>Some Title</title>
==>> <BASE HREF="http://www.somewhere.com/subdir/somepage.html">
</head>
<body>
.
.
.
.
</body>
</html>
I have never had the pleasure of using this element and I can't think of a practical application in a personal home page situation. If anything, it could cause a great deal of confusion as you try to figure out why your pages don't work. Basically, this element tells the browser to treat all the links on this page as though the page was retrieved from the "base" location. This would mean that you could retrieve this page from anywhere, like a local disk drive, and the browser would try to go to all your relative links based on the "base" location instead of from your local disk drive. Use this element with extreme caution. HTML 3.2 FinalThe specification doesn't add anything just a better explanation and some examples. NetscapeNothing special. Microsoft IENothing special. InternationalizationNothing special. |
| | Home | HTML Guide Start | List of HTML Elements | Next Element | Previous Element | |
|
Michael T. Rusk All contents copyright © 1996-2001
Michael T. Rusk Revised:
Sunday, December 30, 2007 11:06
-0500 |