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).
From stackoverflow
JohnM2
-
primarily the Anchor tag
<a href="www.url.com">link</a>
Have a look at www.htmlref.com
From Mark Redman -
AFAIK only
<a>
and<base>
tags allow the href attr.From robertbasic -
According to the standard...
A, AREA, LINK, BASE
Pekka : +1 the only one who got it completely right in the first go :)John Weldon : lol, thanks. w3c is my friend :)Lord Torgamus : +1 I was going for the same thing, but I didn't know about that table. Nice.JohnM2 : I was looking for exactly such table. Thanks!From John Weldon
0 comments:
Post a Comment