Margins and padding are the two most commonly used features for inter-external elements. A margin is a space outside of something, where padding is the space inside something.
CSS margin properties are used to create space around elements outside of a defined boundary. With CSS, you have complete control over the margins. Any element has the feature of setting margins for each side (top, right, bottom, and left).