+ 1

Which tag is correct?

13th Jan 2018, 10:40 PM
Istiak Ahmed
Istiak Ahmed - avatar
10 Respostas
13th Jan 2018, 10:48 PM
Vishal Pal❄⚛
Vishal Pal❄⚛ - avatar
+ 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...
13th Jan 2018, 10:51 PM
visph
visph - avatar
+ 2
HTML5
13th Jan 2018, 11:11 PM
Vishal Pal❄⚛
Vishal Pal❄⚛ - avatar
13th Jan 2018, 11:14 PM
Vishal Pal❄⚛
Vishal Pal❄⚛ - avatar
+ 1
<br> is Correct
13th Jan 2018, 10:47 PM
Yaroslav Stakharnov
Yaroslav Stakharnov - avatar
+ 1
what's the latest version of HTML???
13th Jan 2018, 11:09 PM
Istiak Ahmed
Istiak Ahmed - avatar
+ 1
oh...so I can use <br>‱‱‱</br>!!!
13th Jan 2018, 11:13 PM
Istiak Ahmed
Istiak Ahmed - avatar
+ 1
tnx
13th Jan 2018, 11:15 PM
Istiak Ahmed
Istiak Ahmed - avatar
+ 1
<br> is correct because it is an empty element which means it does not required any closing tag .
14th Jan 2018, 2:27 AM
Suhani Singh
Suhani Singh - avatar