CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS line-height property

The CSS line-height property set a space between two line.

Property Values

Properties Value Description
Syntax line-height:value;
value   Size_px
Allow to All elements
Inherited Yes


<p style="line-height:20px;">Line Height paragraph.1</p>
<p style="line-height:20px;">Line Height paragraph.2</p>
Online Try This Code Your Self....   »


Line Height paragraph.1

Line Height paragraph.2