End Tag “br” – W3C HTML Validation Error [SOLVED]
If you try to validate your code to the HTML 4 W3C standard and the following validation error message is displayed then follow these steps on how to resolve this issue.
The Line number will be different for your coded project and will tell you exactly where the problem in the code is located.
Line 521: End tag “br”.
If you have the tag e.g:
</br>
You will need to change this to the following:
<br>
This will have resolved that error message. Repeat this for all other occurrences.
Please note: In XHTML the following line break codes can both be used:
<br /> and <br>
In HTML5 and XHTML both of the line breaks above can be used but <br> is preferred.