line-height in css

Last modified on May 26th, 2018 at 1:53 pm

What is line-height in CSS?

It declares the line height for a line.  


color : green;
background : yellow;
line-height : 200px;
<h1 class=”height_set”>this is line-height</h1>



this is line-height




Pr. Fazal Rehman Shamil
Publisher of Internatonal Journal of Software Technology & Science ISSN: 2616- 5325
Instructor, Researcher,SEO expert, Web Master, Article Writer and Poet. Feel free to contact.