Full width home advertisement

How To

Science

Post Page Advertisement [Top]


How to Declare HTML Link Base Path
This Link Base Path tag is used to give a base path for all the links that will be available on a webpage, so that browsers will pick the link in the base declaration available in the head section to the relative path given in the body section.

Example

<!DOCTYPE html>

<html>

<head>

<title>Scholars Base Hyperlink Example</title>

<base href="http://www.scholarsglobe.com/">

</head>

<body>

<a href="/index.html" target="_blank">HTML Tutorial</a>

</body>

</html>

The link in the body section will contact the <base href> for a mother link before navigating in this order: 
http://www.scholarsglobe.com/index.html.

No comments:

Post a Comment

Bottom Ad [Post Page]

| Designed by Colorlib