流浪的开始标记脚本 [英] Stray start tag script
问题描述
我试图从 http://www.wowhead.com/hearthstone/tooltips 获取工具提示以在我的网站上工作,但它不起作用,所以我尝试W3C验证器的答案,我得到了以下错误:
错误88行,列84:流浪的开始标记脚本。
... // static.wowhead.com / widgets / power.js> var wowhead_tooltips = ...
我的代码是该部分:
< script type =text / javascriptsrc =http://static.wowhead.com/ widgets / power.js>< / script>
< script> var wowhead_tooltips = {colorlinks:true,iconizelinks:true,renamelinks:true}<脚本>
它位于< html> $ c $内c>和
< head>
标签。 Validator 如果您在< / body>
之外有任何错误,则会发生错误。
只要在< body>
,或将它们保存在< head>
中。
I'm trying to get a tooltip from http://www.wowhead.com/hearthstone/tooltips to work on my site but it doesn't work so I tried the W3C validator for answers and I got the following error:
Error Line 88, Column 84: Stray start tag script. …//static.wowhead.com/widgets/power.js">var wowhead_tooltips =…
Heres my code of that section:
<script type="text/javascript" src="http://static.wowhead.com/widgets/power.js"> </script>
<script> var wowhead_tooltips = { "colorlinks": true, "iconizelinks": true, "renamelinks": true } </script>
And it's within the <html>
and <head>
tags.
Validator gives that error when you've something outside </body>
.
Just move your script tags inside <body>
, or keep them in <head>
.
这篇关于流浪的开始标记脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!