Glubase - share your knowledge


All / Computers / Programming / CSS





  • View Command

CSS Reference

CSS line-height definition

Syntax

line-height: normal || <number> || <length> || <percentage>

Description

The line-height property sets the height of a line.

Values

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

Example

[Try this example yourself]
<hr />
<p style="line-height: 10;">Example text</p>
<hr />

Output


Example text


  • Comments

No comments added.