139k views
1 vote
Add space between the edges of a component and the screen

A. Margin
B. Padding
C. Border
D. Offset

User Tommys
by
7.2k points

1 Answer

3 votes

Final answer:

The correct answer is B. Padding. Padding is the space between the content of a component and its border.

Step-by-step explanation:

The correct answer is B. Padding.

Padding is the space between the content of a component and its border. It is used to create space internally within a component, making its content appear further away from the edges of the screen.

Margins, on the other hand, create space externally around a component, pushing other components away. Borders define the boundary of a component, and offsets are used to shift the position of a component relative to its normal position.

User Brian Coolidge
by
8.1k points