87.5k views
1 vote
Will add space between the border of the component and its content

A. Padding
B. Margin
C. Spacing
D. Inset

User Sbolla
by
9.3k points

1 Answer

2 votes

Final answer:

Padding is the property in CSS that adds space between the content of an element and its border, distinct from the margin which affects the space outside the border.

Step-by-step explanation:

The answer to the question of what will add space between the border of the component and its content is A. Padding. Padding is a property in CSS (Cascading Style Sheets) that creates space between the content of an element and its border, without affecting the space outside the element's border, which is managed by the margin property. So, if you want to increase the space inside the border but not affect the element's positioning relative to other elements, you'll modify its padding.

User Kccqzy
by
9.2k points