+ 1
Is </br> valid even though it works?
I've spent the past maybe 5 lazy minutes trying to find an answer to the difference between <br> and </br> because I just noticed while doing my CTI work that I used </br> instead of <br> and it still functioned perfectly. The text says to use <br> but since </br> worked the same I figured I'd investigate the matter. The main question I have is, is </br> valid code, and is it acceptably interchangeable with <br>? Or is it just something overlooked but frowned upon?
2 Réponses
+ 3
I don't think so. Only know of <br> and <br/> but then, HTML5 interpreter does not throw errors.