CSS Margins
This property will create white space around the HTML element. That means it will create space outside the border. We can set different sizes for each side of the HTML element(top, right, bottom) if we give different sizes for each side, that will apply first top, right, bottom, left.
Margin properties can have the following values:
- Length in cm, px, pt, etc.
- Width % of the element.
- Margin calculated by the browser: auto.