Alan Freedman -- The Computer Language Company - Computer Desktop Encyclopedia
Computer Desktop Encyclopedia
Longest-Running Tech Reference on the Planet

A CDE Definition

You'll love The Computer Desktop Encyclopedia (CDE) for Tech Term of the Day (TTOD)


anchor tag

The HTML code for creating a link to another page or to a particular section within a page. It is also commonly called an "h-ref." See HREF.


(Hypertext REFerence) The HTML code used to create a link to another page. The HREF is an attribute of the anchor tag, which is also used to identify sections within a document. The HREF contains two components: the URL, which is the actual link, and the clickable text that appears on the page, called the "anchor text."

Relative (implicit) and Absolute (explicit) Links
In the first part of the following example, the URL comprises only the file name EXAMPLES.HTML, which is the Web page (Web document) to link to. Because only the file name is given, it is implied that EXAMPLES.HTML resides in the same folder as the Web page with the link. Relative links are widely used because there are no changes required if the pages are moved to a different folder or if the folder is renamed. Every link points within.

However, if EXAMPLES.HTML were on a different website, the full URL with an HTTP:// prefix has to be used, as in the second example. In both cases, the words SAMPLE PRODUCTS are the anchor text, which the user sees and clicks. See hypertext.

Personal Use Only

Before/After Your Search Term
analogue-to-digital converteranchor text
analytical database engineAndersen Consulting
Analytical EngineANDF
anamorphic DVDAndroid
anamorphic lensAndroid 1.5
anchorAndroid 1.6

Terms By Topic
Click any of the following categories for a list of fundamental terms.
Computer Words You Gotta KnowSystem design
Job categoriesUnix/Linux
Interesting stuffPersonal computers
InternetIndustrial Automation/Process Control
Communications & networkingAssociations/Standards organizations
HistoryDesktop publishing
ProgrammingHealthcare IT
System design