1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<!-- Thanks for reading the source of this document. Hope you enjoy -->
<!-- what you find here. Please let me know if you find any errors. -->
<HEAD>
<TITLE>BASE - Document location</TITLE>
<META NAME="description" CONTENT="Wilbur is the name for the next HTML standard (3.2). Here you can find all the tags in this proposal, including tips on usage and limitations.">
<META NAME="keywords" CONTENT="html authoring, reference, wilbur, tag overview">
<META NAME="generator" CONTENT="Orb v1.3 for OS/2">
<META NAME="author" CONTENT="Arnoud Engelfriet">
<LINK REV="made" HREF="mailto:galactus@htmlhelp.com" TITLE="Wilbur feedback">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080"
ALINK="#000080">
<H1 ALIGN=CENTER>BASE - Document location</H1>
<TABLE>
<TR>
<TH VALIGN=TOP ALIGN=LEFT><B>Appearance:</B></TH>
<TD VALIGN=TOP><BASE HREF=<CODE>URL</CODE>><BR></TD>
</TR>
<TR>
<TH VALIGN=TOP ALIGN=LEFT><B>Attributes:</B></TH>
<TD VALIGN=TOP><B>HREF=<CODE>URL</CODE></B><BR></TD>
</TR>
<TR>
<TH VALIGN=TOP ALIGN=LEFT><B>Contents:</B></TH>
<TD VALIGN=TOP>None (<A HREF="../../../glossary/glossary.html#empty">Empty</A>).<BR></TD>
</TR>
<TR>
<TH VALIGN=TOP ALIGN=LEFT><B>May occur in:</B></TH>
<TD VALIGN=TOP><A HREF="../head/head.html">HEAD</A>.<BR></TD>
</TR>
</TABLE>
<P>
The BASE tag is used to indicate the correct location of the document.
Normally, the browser already knows this location. But in cases such
as a mirrored site, the URL used to get the document is not the one
that should be used when resolving relative URLs. That's when you use
the BASE tag. The required HREF attribute must contain a full URL
which lists the real location of the document.
<P>
For example, in a document which contains
<CODE><BASE HREF="http://www.htmlhelp.com/"></CODE>,
the relative URL in <CODE><IMG SRC="icon/wdglogo.gif"></CODE>
corresponds with the full URL <B>http://www.htmlhelp.com/icon/wdglogo.gif</B>.
<H2>Notes:</H2>
<UL>
<LI>It is not necessary to include this tag; use it only if relative
URLs won't work otherwise.
</UL>
<HR>
<CENTER>
<P>
<B><IMG SRC="../icon/wdglogo-small.gif" WIDTH=105 HEIGHT=40 ALT="Web Design Group" ALIGN=RIGHT></B><BR>
<A HREF="../index.html" TITLE="Index for Wilbur">Wilbur index</A> ~
<A HREF="../overview.html" TITLE="Overview of HTML 3.2 tags">Tag overview</A> ~
<A HREF="mailto:galactus@htmlhelp.com" TITLE="Wilbur reference feedback">Feedback</A>
<P>
<SMALL>
Copyright © 1997 <A HREF="http://www.stack.nl/%7Egalactus/">Arnoud "Galactus" Engelfriet</A>.
</SMALL>
</CENTER>
</BODY>
</HTML>
|