0

Is <br> having closing tag

In html <br> having closing tag

18th Dec 2018, 7:21 PM
Mirza Abdullah Beig
Mirza Abdullah Beig - avatar
4 ответов
+ 3
Nope! And btw you are asking a question that the answer is alredy in the lesson, please read your lesson carefully
18th Dec 2018, 10:47 PM
Jingga Sona
Jingga Sona - avatar
+ 2
In html that's called void element, and it must be empty. Thats why it has no closing tag, or use self closing like Tragic Noodle answer. In html its fine to not using the closing tag. But not XHTML. And self-closing are supported by both html and xhtml. Unlike <br> which html only or <br></br> xhtml only. More on that topic can be read here https://dev.w3.org/html5/html-author/
18th Dec 2018, 7:44 PM
Taste
Taste - avatar
+ 1
When i code i end the line with <br/> to end and create a line break
18th Dec 2018, 7:29 PM
Tragic Noodle
Tragic Noodle - avatar
0
No
19th Dec 2018, 5:13 AM
Chaim
Chaim - avatar