1. Home
  2. Computing & Technology
  3. Web Design / HTML

<link />

By Jennifer Kyrnin, About.com

<link /> Description:

The <link /> element links the current document to related documents such as style sheets.

<link /> Web Browser Support:

<link /> Attributes:

<link /> End Tag:

None. <link /> is a singleton tag.

<link /> Contents:

None.

<link /> Valid Context:

The <link /> tag is valid within the following tags:
head

<link /> Usage:

  • style sheet link
    <link rel="stylesheet" href="styles.css" type="text/css" />
  • current page
    <link href="http://webdesign.about.com/library/tags/bltags-link.htm" />
  • table of contents link
    <link href="http://webdesign.about.com/library/tags/bl_index.htm" rel="index" />

<link /> Special Notes:

  • The link tag is typically used to link to style sheets. It can also provide additional information about the document.

More <link /> Information:

Return to XHTML Element (HTML Tags) Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. The link Element - links documents to other documents - XHTML 1.0 HTML 4.0

©2008 About.com, a part of The New York Times Company.

All rights reserved.