Question: Using the following HTML and CSS example, what will equivalent pixel value be for .em and .rem elements?

  1. The .rem will be equivalent to 25px; the .em value will be 20px.
  2. The .rem will be equivalent to 15px; the .em value will be 20px.
  3. The .rem will be equivalent to 15px; the .em value will be 40px.
  4. The .rem will be equivalent to 20px; the .em value will be 40px.

Answer: The correct answer of the above question is Option C:The .rem will be equivalent to 15px; the .em value will be 40px.