头标记中是否会执行html图像标记? [英] Will an html image tag execute in the head tag
问题描述
因此,一家领先的跟踪公司需要一个链接来触发,并且这个链接位于标签中......它会被触发。
< HEAD>
< img width = 1 height = 1 src ='http://track.searchignite.com/si/CM/Tracking/TransactionTracking.aspx?siclientid = 4426& DetailDescription = 935626& transactionamount = 1& SICustTransType = 19172&安培; JScript中= 0&安培; X10 = goog&安培; X 9 = 1&安培; X 8 = 935626&安培; X 7 = 777 + 665-9999&安培; 5233 =琼斯&安培; X 5 =亚光&安培; X4 =安培; X3 =卡马里奥&安培; X2 =奥克斯纳德%2C + CA +地铁+区和向X1 =隐藏+弹簧与安培; N1 =奥斯汀 - 卧室 - austin_1_bedroom_apartments-P'>
< / head>
它不应该。该规范说:
用户代理通常不会将出现在HEAD中的
元素渲染为
内容。
请参阅 新增: 这是规范中的一个松散区域。例如,浏览器可以: 所以,看看你最喜欢的浏览器做什么,然后使用你想要的信息... So a lead tracking company needs a link to fire and it was in the head tag...will it fire.
It shouldn't. The spec says: User agents do not generally render
elements that appear in the HEAD as
content. See the spec But browsers can do anything they want to. Added: It's a loose area in the spec. Eg a browser could: ... and the browser would be compliant. So see what your favorite browsers do and then use the info as you wish... 这篇关于头标记中是否会执行html图像标记?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
<head>
<img width=1 height=1 src='http://track.searchignite.com/si/CM/Tracking/TransactionTracking.aspx?siclientid=4426&DetailDescription=935626&transactionamount=1&SICustTransType=19172&jscript=0&x10=goog&x9=1&x8=935626&x7=777+665-9999&x6=jones&x5=matt&x4=&x3=Camarillo&x2=Oxnard%2C+CA+Metro+Area&x1=Hidden+Springs&n1=Austin--Bedroom--austin_1_bedroom_apartments-P'>
</head>