维基天空

June 25, 2006

the base tag

Filed under: 涅磐思考|Thinking — admin @ 10:03 pm

Relative links within a document (such as >a href=”someplace.html”… or >img src=”someimage.jpg”…) will become relative to the URI specified in the base tag.

The base tag must go inside the head element.

<head>
<title>Peppers</title>
<base href=”http://www.domain.com/www/” />
</head>

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress