Abakada CSS Demo: line-height Attribute


This example shows the effects of applying user-supplied values with the various length units possible for the CSS line-height style attribute.

Enter a line-height value, and select a unit value from the options below to see how the style is applied. Note the resulting CSS syntax for the style declaration.

Syntax { line-height: normal }
Enter value Select Unit

Click or TAB to cycle thru the fields.

NOTE: line-height defaults to font height ( em ) values if no length unit is specified.


View Source   Exit

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.