What is padding in HTML?
Padding is used to create space around an element's content, inside of any defined borders.
What is padding 10px?
The padding declaration
A simple padding declaration might look something like this: padding: 10px; That declaration means that the padding box should extend 10px in all four directions—left, right, up, and down—beyond the size of the content box.