As the name of the CSS Line Height property says, you can specify the height of a line, using the line-height property.
Let’s have a look at an example so that we get a clear picture of what is happening. Have a look at the below code, where we are trying to use the line-height property –
Output -(as you might have guessed that the lines will be separated with some spaces)
As you can see, there is some space between the lines now. So, you can make use of the property line height, as and when required.