How to set the bottom margin of an element?

JavascriptWeb DevelopmentFront End Scripts

The margin-bottom property is used to set the bottom margin of an element. It can have a value in length, % or auto.

Example

You can try to run the following code to set the bottom margin

<html>
</html>