if <p>this is a piece<br/>of text</p> is the <br/> tag an element of <p></p>or a seperate element | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
1 Answer
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