Inheritance

Read page 240 before attempting this activity.

Try it for yourself

 

Instructions

Read page 240 before attempting this activity.

  1. Remove the three CSS rules, and replace them with one rule that does the same thing using inheritance.
  2. This one rule should change all the text to a sans-serif font, and make it all bold.

HTML

CSS

JavaScript

Output