112k views
1 vote
An additional factor in how an element is rendered is that properties are passed from a parent element to its children in a process known as ____.

User Locoboy
by
5.3k points

1 Answer

5 votes

Answer: Style inheritance

Explanation:

Style inheritance is used to design style sheets. It is a process in which properties are inherited by children from a parent element. For example you wish that all text on a page use same font color i.e. red. You can apply they following style for <body> tag like {body color:red;}. All the elements in the web page will inherit this font color. This is better to use than to create styles for each tag. Every heading and paragraph will be displayed in this font color until you define different color for particular element.

User Ajiri
by
4.6k points