CHAPTER 3 CSS SELECTORS AND INHERITANCE
Inheritance
HTML
<body>
<h1>Inheritance</h1><div>
<p>
<em>
<span>- This span inherits font from its ancestor,
<body>. - It inherits line-height from its ancestor,
<div>. - It inherits letter-spacing from its ancestor,
<p>. - It inherits italics from its ancestor,
<em>,
but it is also directly assigned tofont-style:normal, which
overrides its inherited italics.