Media Link | WebReference

Media Link

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Media Link

<link>

Description: Establishes a relationship between the current document and other documents.

Browser Compatibility: NN: 4.0+ / IE: 3.0+

Attributes:
  • charset
  • class
  • dir
  • href
  • hreflang
  • id
  • lang
  • media
  • onclick
  • ondblclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • rel
  • rev
  • style
  • target
  • title
  • type

Code Example:

<link rel="next" href="http://www.domain.com/page2.html">

Comments: Must be placed within the <head> elements.

XHTML Notes: Because it is an empty element, the XHTML 1.0 specification requires a trailing slash: <link />




Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/