0
Is <br> having closing tag
In html <br> having closing tag
4 ответов
+ 3
Nope! And btw you are asking a question that the answer is alredy in the lesson, please read your lesson carefully
+ 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/
+ 1
When i code i end the line with <br/> to end and create a line break
0
No