# Set the top margin of an element with CSS

The margin-top specifies the top margin of an element. It can have a value in length, % or auto. You can try to run the following code to set the top margin:

## Example

<html>
</html>