CSS Property:

line-height

Result:

Example of the CSS line-height property

CSS Code:

#myDiv {
                
background-color:pink;
}
Click the property values above to see the result
W3Docs.com-Play it
Do you find this helpful?