Jazzo.co.uk uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our Privacy Policy and our Terms & Condition.

HTML <base>

query_builder | Christopher Pisani

The <base> element places a URL as a base link to what files are relative to in a document. It is very useful when altering the main URL through the .htaccess file when working online or when working offline in development mode.

Only one <base> element is supported per page. If a second <base> element is present, only the first link will be obeyed, the others will be ignored.

This element should be placed in the head section of the document.

Available Attributes

Attribute Values Functionality
href url The link the files will be relative to
target _blank
The target for all the links in the document