CSS margin bottom

CSS margin bottom is used to set the bottom space between the HTML element border and its content.


Syntax

Output

This is the bottom margined paragraph.

This is the second paragraph


CSS margin bottom values list

Sr. No. value Description
1 value Used to specify the value in px, percentage. The value for this for example 15px.
2 initial Used to define as the property initial value.
3 inherit Used to define the computed value of property on the elements parent.
4 unset Used to define the property either acts as inherit or initial, depending on the property if it is inherited or not.