Computer Related

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.

Nerd

I am the Nerd.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Verified by MonsterInsights