links

Links:
A link is a connection from one web resource to another. Links allow users to click their way from page to page. Links are created in web page by using the <a> …. </a> tags. The most important attribute of the <a> element is the href attribute, which indicates the link's destination.
Syntax
<a href=”filename.html”>
Example
<a href=" d:\html\images.html ">View images</a>

 

External Link:
External links are those HTML links that go to another Web site. At times, it is necessary to jump to a particular location within the new web page. Jumping to a particular location on a web page can be summarized in two steps:
Mark the location to be jumped using the name attribute.
Syntax
<a name=”location_name”>
Example
<a name=”point”>
In addition to the name of the web page to be jumped to, the name of the location on the web page to go to is required.
Syntax
<a href=”file_name.html#location_name”>…. </a>
Example
<a href=”details.html#point”> Visit my home page </a>

 

Internal Link:
An internal link is a link on a web page that links to another page on the same site or domain. A jump is required to a different location in the same document. The same two steps are followed:
Identify the location with a name and then jump to that location using the name.
Syntax
<a name=”location_name”>
<a href=”#location_name”> ….. </a>

 

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

 

 

 

 

 

 

 

 

 

HYPER TEXT MARKUP LANGUAGE by dEEPA & sURIYA