Single Choice Easy

QWhich CSS value is used to add different padding to each side of an element?

ID: #8888 CSS Padding 117 views
Question Info
#8888Q ID
EasyDifficulty
CSS PaddingTopic

Choose the Best Option

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

  • A padding: 10px;
  • B padding: 10px 20px;
  • C padding: 10px 20px 30px;
  • D padding: 10px 20px 30px 40px;
Correct Answer

Explanation

The padding property can take up to four values to add different padding to each side of an element.

Share This Question

Challenge a friend or share with your study group.