+ 1
Which tag is correct?
10 Réponses
+ 3
both tags are correct.
https://www.sololearn.com/discuss/966212/?ref=app
+ 3
Only <br> is valid in Html5.
Before Html5 <br/> was mandatory for XHtml, tolerated in Html.
Anyway, <br/> is widely still supported in actual browsers which are mandatory to be permissive and auto-correct invalid codes, but in an Html5 document (with the right <!doctype>), <br/> will fail validation of w3c...
+ 2
HTML5
+ 2
open the link
https://www.sololearn.com/discuss/966212/?ref=app
+ 1
<br> is Correct
+ 1
what's the latest version of HTML???
+ 1
oh...so I can use <br>•••</br>!!!
+ 1
tnx
+ 1
<br> is correct because it is an empty element which means it does not required any closing tag .