Name

HREF — NN n/a IE 3 HTML all

Synopsis

HREF=”URI"

Required

The URI of the destination of a link. Navigator 4 uses the SRC attribute for this purpose. Include both attributes for a cross-browser implementation.

Example

<LINK REL="Prev" HREF="sect2.html">

Value

Any valid URI, including complete and relative URLs.

Default

None.

Object Model Reference

IE

[window.]document.all.elementID.href

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.