0

what is the use of inherent tag/command ? or what is mean by " parent elements " ??

text styling

29th Oct 2016, 8:05 AM
udipta
udipta - avatar
3 Antworten
+ 1
<body> <p>Text</p> <p>Text</p> </body> Suppose you have something like this. the <body> tag is the parent element for both paragraphs, thus if a <p> was to have the value of inherit for one of it's properties, it would use it's parents value, whatever that may be. Both paragraphs are siblings to eachother, as they both share the same parent. And both of the paragraphs are daughters to the body element.
29th Oct 2016, 1:51 PM
Cohen Creber
Cohen Creber - avatar
0
You can write a specific style for a paragraf. If you want to make your paragraf style not so 'specific' but like style of a parent for this paragraf style you symply write this "inherit" attribute. It clear paragraf style and gives it parent features.
30th Oct 2016, 7:47 AM
Дарья Стеценко
Дарья Стеценко - avatar
- 2
stupid
31st Oct 2016, 12:16 PM
Daren lebron barron
Daren lebron barron - avatar