MCQs > IT & Programming > CSS > What is the difference between the following line-height settings? line-height: 20px; line-height: 2;

CSS MCQs

What is the difference between the following line-height settings? line-height: 20px; line-height: 2;

Answer

Correct Answer: The value of 20px will set the line-height to 20px. The value of 2 will set the line-height to twice the size of the corresponding font-size value.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

CSS Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

CSS Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it