Home » Html » Stray start tag script

Stray start tag script

Posted by: admin November 29, 2017 Leave a comment


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>.