HyperText Markup Language/Tag List/base

From Wikibooks, open books for an open world
Jump to: navigation, search

Use[edit]

This sets a default target on the page.

Example[edit]

<base href="home_page.html" target="home" />

Required attributes[edit]

target[edit]

To declare the default target for the links on the page.

Optional attributes[edit]

href[edit]

To declare the URL to be used to retrieve the webpage wanted.

Standard attributes[edit]

More info[edit]

A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).