base
Defines the base location for links on a page.
Relative links within a document (such as <a href="WWW.GOOGLE.COM.html"...or <img src="someimage.jpg"...) will become relative to the URI specified in the base tag.
The base tag must go inside the headelement.
Required Attributes
- href is used to specify the location on the base URI.
Example
<head>
<title>Peppers</title>
<base href="http://www.somedomain.com/directory/" />
</head>
<body>
<p><a href="someplace.html">This</a> will actually link to http://www.somedomain.com/directory/someplace.html.</p>
<div><img src="someimage.jpg" alt="Some image"/></div>
<p> The location of the above image will be actually be http://www.somedomain.com/directory/someimage.jpg.</p>
</body>
Other Topics
HTML : A ,HTML : ABBR ,HTML : Address ,HTML : AREA ,HTML : BASE ,HTML : BDO ,HTML : BLOCKQUOTE ,HTML : BUTTON ,HTML : BODY ,HTML : BR,CSS : Class selector,CSS : Sticky Footer Layout,CSS::STYLING FORMS, mechanical Engineering, English books,Photoshop tutorials,Harry potter,Best 100 english books,Mechanical-old-question-paper,CSS : Id Selector
No comments:
Post a Comment