This paragraph has a text alignment value of center. It also has large margins, so each line is not only centered but is also inset on both sides from the element that contains it, which in this case is the document. An HTML element that contains another element is considered to be the parent element of the element it contains, and the element it contains is considered to be its child element. In many cases, child elements acquire or inherit the styles of their parent elements. In that case, the word is would be displayed in red, because properties set on the child override properties inherited from the parent.
Inheritance starts at the top-level element.
For example, the following code sets the default text color to green. A few style properties are not inherited by the child element from the parent element, but in most of these cases, the net result is the same as if the property was inherited. For example, consider the background color property, which is not inherited. If a child element does not specify its own background color, then the parent's background color is visible through the child element. It will look as if the child element has the same background color as its parent element.