+ 4
Is <br> a block level element ?
I know block elements start with new line and be too leaves line . I became confused when in challenge I got the answer with no . how it is possible ? please help me .😑😑😑😑😑😑😥😥😥😥😥😥
3 Antworten
+ 1
This link is a reference to a stack overflow answer that has all the details from the HTML5 specifications. https://stackoverflow.com/questions/1369234/are-hr-and-br-inline-or-block-elements#1369239
+ 3
<br> is an inline element. block level elements start with a new line. inline elements don't, they are considered together even when they are on different lines . you use br to start inline elements from a new line.
0
no