Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
1,798,855,123 visitors served.
forum mailing list For webmasters
?
New: Language forums
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

HREF

   Also found in: Acronyms, Wikipedia, Hutchinson 0.02 sec.

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 is comprised of 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 Web site, 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.


  Relative Link - Implicit Link
  (points to a page within same folder)

  <a href="examples.html">Sample Products</a>


  Absolute Link - Explicit Link
  (points to a page on another site)

  <a href="http://www.xyz.com/examples.html">
    Sample Products</a>



How to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in ? References in periodicals archive
 
and may be purchased via its web site: <A HREF = "http://www.
David Intersimone, VP Developer Relations stated, "We selected HREF Tool's WebHub not only because it showcases a solution that our developers can use, but also because of HREF's commitment to our developers with its own developers.
WebHub, the high-performance, object-oriented web development framework from HREF Tools Corp.
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2009 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. Terms of Use.