Difference between revisions of "Base (HTML element)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "In HTML the '''ba''' element represents a default URL and a default target for all links on a page. == Examples == <nowiki><head> <base href="http://code.karljones.com/...")
 
 
Line 1: Line 1:
In [[HTML]] the '''ba''' element represents a default URL and a default target for all links on a page.
+
In [[HTML]], the '''base''' element represents a default URL and a default target for all links on a page.
  
 
== Examples ==
 
== Examples ==

Latest revision as of 10:43, 1 May 2016

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