Too many errors with HTML Markup Validation Service (validator.w3.org)
-
Hi,
Dear Bj Lazy Load’s developper,
By doing a HTML Markup validation at http://validator.w3.org/, I saw that there are massive errors that you can solve :
document type does not allow element “noscript” here.
The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.One possible cause for this message is that you have attempted to put a block-level element (such as “
<noscript>“) inside an inline element (such as “<a>“, “<span>“, or “<font>“).a
<noscript>xxxxxx</noscript>tag is not allowed in a<a href="">xxxxxx</a>tag.
This may be solved by change the line 166 in the file bj-lazy-load.php :
$replaceHTML .= '<noscript>' . $imgHTML . '</noscript>';I don’t think the data of the variable “$imgHTML” are necessary here as it’s a perfect copy of the replaced HTML code by Lazy Load ?
What do you think of this ?
The topic ‘Too many errors with HTML Markup Validation Service (validator.w3.org)’ is closed to new replies.