CSS CSS Padding Question #8886
Single Choice Easy

QWhich CSS value is used to add equal padding to all sides of an element?

ID: #8886 CSS Padding 134 views
Question Info
#8886Q ID
EasyDifficulty
CSS PaddingTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A padding: 10px;
  • B padding: 10px 5px;
  • C padding: 10px 5px 15px;
  • D padding: 10px 5px 15px 20px;
Correct Answer

Explanation

The padding property can take up to four values to add padding to all sides of an element, but when only one value is used, it is applied to all sides equally.

Share This Question

Challenge a friend or share with your study group.