Where can href attribute appear in HTML document?
In which elements (tags) attribute href is allowed according to the HTML 4.01 standard?
EDIT: An is it commonly used is some other tags (in开发者_开发百科 non-standard ways).
According to the standard...
A, AREA, LINK, BASE
primarily the Anchor tag
<a href="www.url.com">link</a>
Have a look at www.htmlref.com
AFAIK only <a>
and <base>
tags allow the href attr.
精彩评论