Friday, February 16, 2007

Freebasing

The "base" tag is an element that can serve several different purposes. It can be used to specify a location for all relative URLs on a page. This can save time when coding images, and can be used to quickly change images, files and pages with a permanent redirect.

This element must go inside the head element. For HTML, the tag does not have to be closed, but it does for XHTML. It can be used with the href attribute for URLs, and the target attribute for the following values: _blank, _parent, _self, _top.

And here, just for nostalgic purposes, feel free to view the classic All of Your < Base > Are Belong to Us.

1 Comments:

Plymouth style week said...

dreamweaver creates relative links but does not insert a base ref anywhere on the page.
When published the relative links still work and still get crawled.
Therefore if you upload with dreamweaver is it necessary to include a base ref

2:08 PM  

Post a Comment

Links to this post:

Create a Link

<< Home