Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

<A ...>

Usage Recommendation
thumbs up use it

  • HREF: URL you are linking to
  • NAME: name a section of the page
  • TARGET: which window the document should go in
  • TITLE: suggested title for the document to be opened
 

<A ...> is the cornerstone of HTML, the tag that makes hypertext hypertext. <A ...> is the tag you use to make hyperlinks: the text that you can click on in your web browser to go to another web page.

For example, this code creates a link:

this code produces this
<A HREF="mywebpage.html">My Web Page</A>
My Web Page

Let's look at each part of that link:

<A
Says that this is an anchor (<A ...>) tag

HREF="mywebpage.html">
Says that the Hypertext REFerence for this anchor is the file "mywebpage.html". When an anchor makes a hypertext reference, we call it a "link".

My Web Page
This is the text which appears on the web page. This text is usually highlighted in some way, such as coloring it blue, to indicate that it is "hypertext" (if you click on it, something happens).

</A>
Closes the anchor
This is the simplest type of anchor, but it is probably the kind you will use by far the most.

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire