Base (HTML element)

From Wiki @ Karl Jones dot com
Jump to: navigation, search

In HTML, the base element represents a default URL and a default target for all links on a page.

Examples

<head>
<base href="http://code.karljones.com/images/" target="_blank">
</head><body>
<img src="test.jpg" alt="Test">
<a href="http://code.karljones.com">code.karljones.com</a>
</body>

See also

External links

  • [] @ developers.mozilla.org
  • base @ w3schools.com