# Margin Padding

This refers to the space around the block’s border.

<figure><img src="https://lh7-us.googleusercontent.com/LpH37hho5tb5Q1OhhURJ-_eApYe4JML75ul-fg11YEN93UIBJEuLLZf3WsYGr1DJ2vjPXIHzZQr3jt_syV6ARLBchnNIQn_BagcfN_lKM6dFuVNdj_ZOkm2scXAeoUzd-dxmdf7zViD8diUv5edPSNQ" alt=""><figcaption></figcaption></figure>

A visual aid:&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/m_DXEEmML80uUKkn35shbKKOc6AzlkVVbdN3VOzYtmP2Z_cHQoM8EY3OhOy3x7lkCGh2AiTUQumNrv2MsD4rutts2qtXTpZPzVNYB0XzP0cvbq98pWah-I93_BlqYKSxu_VJ9aR_J_FKfuf23kAa5Cw" alt=""><figcaption></figcaption></figure>

Margin: control how much space is around an element.

Padding: controls the space inside an element, around its content.
