COMPLETE list of HTML tag attributes which have a URL value? -
besides following, there html tag attributes have url value?
hrefattribute on tags:<link>,<a>,<area>srcattribute on tags:<img>,<iframe>,<frame>,<embed>,<script>,<input>actionattribute on tags:<form>dataattribute on tags:<object>
looking tags in wide usage, including non-standard tags , old browsers html 4.01, html 5, , xhtml.
check out w3c's list of html attributes, there's "type" column in there , uri types.
and of course html 5 version of list useful too
so html4 we've got:
<a href=url><applet codebase=url><area href=url><base href=url><blockquote cite=url><body background=url><del cite=url><form action=url><frame longdesc=url>,<frame src=url><head profile=url><iframe longdesc=url>,<iframe src=url><img longdesc=url>,<img src=url>,<img usemap=url><input src=url>,<input usemap=url><ins cite=url><link href=url><object classid=url>,<object codebase=url>,<object data=url>,<object usemap=url><q cite=url><script src=url>
html 5 adds few (and html5 seems not use of ones above well):
<audio src=url><button formaction=url><command icon=url><embed src=url><html manifest=url><input formaction=url><source src=url><track src=url><video poster=url>,<video src=url>
these aren't simple urls:
<img srcset="url1 resolution1 url2 resolution2"><source srcset="url1 resolution1 url2 resolution2"><object archive=url>or<object archive="url1 url2 url3"><applet archive=url>or<applet archive=url1,url2,url3><meta http-equiv="refresh" content="seconds; url">
svgs can contain links resources: <svg><image href="url" /></svg>
in addition, style attribute can contain css declarations 1 or several urls. example: <div style="background: url(image.png)">
Comments
Post a Comment