HTML and CSS Reference
score, so don't use the underscore as the first character of any frame
name or id you define in your documents.
11.7.3. The <base> Default Target
It can be tedious to specify a target for every hyperlink in your docu-
ments, especially when most are targeted at the same window or frame.
To alleviate this problem, you can add a target attribute to the <base>
tag. [ <base>, 6.7.1 ]
The target attribute in the <base> tag sets the default target for every
hyperlink in the current document that does not contain an explicit tar-
get attribute. For instance, in our example table of contents document,
almost every link causes the document to be displayed in another win-
dow named view_frame . Instead of including that target in each hyper-
link, you should place the common target in the table of contents' <base>
tag within its <head> :
<title>Table of Contents</title>
<h3>Table of Contents</h3>
<li><a href="chap1.html">Chapter 1</a></li>
<li><a href="chap2.html" >Chapter 2</a></li>
<li><a href="chap3.html">Chapter 3</a></li>
Notice that we don't include any other target references in the list of hy-
perlinks, because the browser loads and displays all the respective doc-
uments in the base target view_frame .