margin for text in html

Solutions on MaxInterview for margin for text in html by the best coders in the world

showing results for - "margin for text in html"
Liam
05 Oct 2020
1p {
2  /*If you want to apply margin for all four sides with the same amount*/
3  margin: 100px;
4  /*Margin from top*/
5  margin-top: 100px;
6  /*Margin from bottom*/
7  margin-bottom: 100px;
8  /*Margin from right*/
9  margin-right: 150px;
10  /*Margin from left*/
11  margin-left: 80px;
12}