'Which of the given options is/are equivalent to the following rule?

DIV { line-height: 1.2; font-size: 10pt }

a. DIV { line-height: 1.2em; font-size: 10pt }
b. DIV { line-height: 12em; font-size: 10pt }
c. DIV { line-height: 120%; font-size: 10pt }
d. DIV { line-height: 20%; font-size: 10pt }
e. DIV { line-height: 80%; font-size: 10pt }

I think a is correct.

a. DIV { line-height: 1.2em; font-size: 10pt }


Solution 1:[1]

I think the following two are correct.

a. DIV { line-height: 1.2em; font-size: 10pt }
c. DIV { line-height: 120%; font-size: 10pt }

Solution 2:[2]

A and C are correct. Please see here for specific details.

Solution 3:[3]

So in this question there are two right answers as font-size is same for each case

a. DIV { line-height: 1.2em; font-size: 10pt }
c. DIV { line-height: 120%; font-size: 10pt }

You can test it here as well

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dream180
Solution 2
Solution 3 Siddhant