# How to set the CSS margin properties in one declaration?

JavascriptWeb DevelopmentFront End Scripts

The margin property defines the space around an HTML element. It is possible to use negative values to overlap content. It specifies a shorthand property for setting the margin properties in one declaration.

## Example

You can try to run the following code to set margins

<html>
</html>