How to set margin properties in CSS (cascading style sheet)? 30/08/202030/08/2020 Ajay When there is need to increase or decrease the space around an HTML element, the margin properties of CSS come into action. You have full control over margins using CSS. These properties are used to give space around an HTML element.