Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <head> <style> p.small { line-height: 0.5; } p.big { line-height: 2; } </style> </head> <body> <p> This is a paragraph with a standard line-height. The default line height in browsers is "1". This is a paragraph with a standard line-height. This is a paragraph with a standard line-height. </p> <p class="small"> This is a paragraph with a smaller line-height. This is a paragraph with a smaller line-height. This is a paragraph with a smaller line-height. This is a paragraph with a smaller line-height. </p> <p class="big"> This is a paragraph with a bigger line-height. This is a paragraph with a bigger line-height. This is a paragraph with a bigger line-height. This is a paragraph with a bigger line-height. </p> </body> </html>
Result:
W3Schools.com - Try it yourself