HyperText Markup Language/Tag List/base

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

Use[edit | edit source]

This sets a default target on the page.

Example[edit | edit source]

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

Required attributes[edit | edit source]

target[edit | edit source]

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

Optional attributes[edit | edit source]

href[edit | edit source]

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

Standard attributes[edit | edit source]

More info[edit | edit source]

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