Text Properties

Line Height

 
 

Text Properties

Word Spacing
Letter Spacing
Text Decoration
Vertical Alignment
Text Transformation
Text Alignment
Text Indentation
Line Height

Appearance:

line-height: <value>

Possible Values:

normal | <number> | <length> | <percentage>

Initial Value:

normal

Applies to:

All elements

Inherited:

Yes

The line-height property will accept a value to control the spacing between baselines of text. When the value is a number, the line height is calculated by multiplying the element's font size by the number. Percentage values are relative to the element's font size. Negative values are not permitted.

Line height may also be given in the font property along with a font size. The line-height property could be used to double space text:


P { line-height: 200% }

BreBru.Com Extra Information Techonology HTML