+ 1

which element is called parent element

use of <inherit>

25th Jul 2016, 6:14 AM
vikrAm
vikrAm - avatar
3 Antworten
+ 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>).
25th Jul 2016, 9:37 AM
ZinC
ZinC - avatar
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.
25th Jul 2016, 12:14 PM
rohith_vutnoor
rohith_vutnoor - avatar
- 1
更高一级的就是父标签
28th Jul 2016, 7:44 AM
YiXiu
YiXiu - avatar