A href

Rated 4.92/5 based on 919 customer reviews

HTML 4's ID attribute is intended to eliminate the need for A NAME.The ID attribute can be used with almost any element to define a link destination, so that the following could be used in place of the previous example: do not support ID link destinations.This attribute is rarely used in practice, but when combined with defines a link destination named "foo" at the indicated heading.One could then use HREF="#foo" in an A element within the same document or HREF="somedoc.html#foo" from within another document.Entities ( é) may be used as the ACCESSKEY value.The TABINDEX attribute specifies a number between 7 to indicate the tabbing order of the element. The optional TITLE attribute can be used to briefly describe the contents of the link and is rendered as a "tooltip" by some browsers.The content of an A element used as a link should be as context-free as possible.

The ACCESSKEY attribute specifies a single Unicode character as a shortcut key for following the link.

If no frame with such a name exists, the link is rendered in a new window unless overridden by the user.

Special frame names begin with an underscore: 1766; examples include en for English, en-US for American English, and ja for Japanese.

REL defines a link relationship from the current document to the linked document while REV defines a relationship in the opposite direction.

For example, indicates that the current document is a subsection of

Leave a Reply