0
can I use </br> in place of the normal <br>
both of them work, but today my teacher scolded me over using the former :/ will it have any bad impression on examiners and developers (in real life)
5 Réponses
+ 2
Browsers will see </br> as <br>. The correct HTML5 is simply <br>. <br /> is also valid but that was a remainder from XHTML.
+ 2
I have tried it for many years it works , maybe just a result of the fact that HTML is not such a sensitive language
+ 1
No need
+ 1
Nope, but you could surely use ‹br /› instant ‹br› ...
0
I mean is it a valid tag "