Base (HTML element)

From Wiki @ Karl Jones dot com
Revision as of 10:43, 1 May 2016 by Karl Jones (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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