I am getting a weird error on the W3C HTML validator:
Line 167, Column 74: Stray end tag script.
…ipt type="text/javascript"
src="http://stats.hosting24.com/count.php"></script>Line 167, Column 74: Cannot recover after last error. Any further errors will be ignored.
…ipt type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
The weird thing is, I have no line 167. My document ends on line 165 and there are no script tags on the page. Also there is no count.php file.
Anyone know how to fix this?
EDIT: W3C validator link
The script tag is outside of the
BODYtag. It needs to be inside. Putting the script tag right before the closing</body>tag results in successful validation.Won’t work:
Works: