[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
HTMLSPEC-A

A

Usage

Used to specify a resource link, internal or external, in a web page document that can be clicked on in order to be transferred to another document or document region.

Attributes

href="URL"


Specifies the web location that should be rendered upon visitor click of the link.

name=""


Specifies a name for a particular web document section. This is done so other resource links can directly reference a specific web document section simply by providing the name of the region after the pound sign in the HREF attribute info. Ex: <a href="#section1">Goto Section 1</a>

target=""


Specifies that the referenced web document be displayed in a particular frame of the website layout.

title=""


Specifies a title for a web document link that would not normally be given one.

rel=""


Specifies the relationship of the current document to the referenced document.

rev=""


Specifies the relationship of the referenced document to the current document.

Live Example

<html>
<head><title>Hyperlinks Document Example</title></head>
<body>
<a name="top">Beginning of Web Page</a>
<pre>
.
.
</pre>
<a href="http://www.programmersheaven.com" target="_blank">ProgrammersHeaven.com</a><br><br>
<a href="#top">Back To Top</a>
</body>
</html> 


HTML Tags Center

last edited (March 28, 2004) by leeos, Number of views: 1180, Current Rev: 3 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.