<!doctype html> <html> <head> <title>CSS Inheritance Example</title> <style> body { background-color: lightslategray; color: whitesmoke; font-size: 35px; } div { background-color: orange; margin: 50px; padding: 100px; width: 300px; } </style> </head> <body> <h2>CSS Inheritance</h2> <div>Example</div> </body> </html>