迷路开始标记脚本

Eri*_*ins 42 html javascript

我正在尝试从http://www.wowhead.com/hearthstone/tooltips获取工具提示在我的网站上工作,但它不起作用所以我尝试了W3C验证器的答案,我收到以下错误:

错误第88行,第84列:错误开始标记脚本.... // static.wowhead.com/widgets/power.js" > var wowhead_tooltips = ...

继承我那部分的代码:

<script type="text/javascript" src="http://static.wowhead.com/widgets/power.js"> </script>

<script> var wowhead_tooltips = { "colorlinks": true, "iconizelinks": true, "renamelinks":       true } </script>
Run Code Online (Sandbox Code Playgroud)

它在<html><head>标签内.

小智 111

当你在外面时,Validator会给出错误</body>.

只需将脚本标签移到里面<body>,或将它们保留在里面<head>.