+ 2

if <p>this is a piece<br/>of text</p> is the <br/> tag an element of <p></p>or a seperate element

is <br/> =element

7th Apr 2019, 12:52 AM
clovert
clovert - avatar
2 Answers
0
The p is a block element. The br is an inline element, and is an element inside the p element, so it is an element of p.
7th Apr 2019, 12:58 AM
Mike
Mike - avatar