which element is called parent element | Sololearn: Learn to code for FREE!

+1

which element is called parent element

use of <inherit>

7/25/2016 6:14:13 AM

vikrAm

3 Answers

New Answer

+1

<div> <ul> <li></li> </ul> </div> <div> is the parent of <ul> (<ul> is the child of <div>). <ul> is the parent of <li> (<li> is the child of <ul>).

0

Let us think we have written a paragraph and it also includes some bold ,italic,color words . And when you try to set the font family style/size etc. will be automatically inherited by elements inside that paragraph.

0

更高一级的就是父标签