HTML Links

HTML Links

You can use the Anchor Tag(<a></a>) to link to other documents in your Web site or to other pages on the Internet.

Example

HTML Code
<html>
<head>
<title> Title of page : itcollegeall.blogspot.com </title>
</head>
<body>
<p>The HTML tags that define your page</p>
<p>Open WebPage <a href='Itcollegeall.blogspot.com'>
Itcollegeall
</a></p>
</body>
</html>
Result

Most using attribute of <a> </a> tag

Tags of AnchorAttributes Names
<a> </a> href | name | target | title

Values of attributes using the Anchor Tag(<a></a>)

Attributes Names Attributes Values
href url
name name of target location
target _blank | _parent | _self | _top
title advisory information

Anchor Tag(<a></a>) used the different path.
For Example

Local file system
<a href="file:///C:/html/links.htm">Open local file</a>

External file
<a href="http://itcollegeall.blogsport.com">Open external Link</a>

Send mail
<a href="mailto:itcollegeall@google.com">Send mail</a>

Used to define target destination within document
<a name="jump">Jump target</a>
Internally jump target
<a href="#jump">Local jump</a>

Externally jump target
<a href="http://itcollegeall.blogsport.com#jump">

FTP
<a href="ftp://ftp.itcollegeall.blogsport.com/freehost">Open FTP link</a>

FTP with password
<a href="ftp://username:password@itcollegeall.blogsport.com">FTP with password</a>


Share This:

No comments:

Post a Comment

Advertiser
Counter
Flag Counter