开发者

Where can href attribute appear in HTML document?

开发者 https://www.devze.com 2022-12-16 15:20 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消