Copyright © tutorialspoint.com
The line-height property modifies the height of the inline boxes which make up a line of text.
All the HTML elements.
object.style.lineHeight="15px;" |
Following is the example:
<p style="line-height:180%"> This text is having bigger line height. Line 1 This text is having bigger line height. Line 2 </p> |
This will produce following result:
This text is having bigger line height. Line 1 This text is having bigger line height. Line 2 |
To Become more comfortable - Do Online Practice
Copyright © tutorialspoint.com