CSS Text Indentation and Spacing | CSS text margin
TextSpacingInthischapteryouwilllearnaboutthefollowingproperties:text-indentletter-spacingline-heightword-spacingwhite-spaceTextIndentationThetext-indentpropertyisusedtospecifytheindentationofthefirstlineofatext:LetterSpacingTheletter-spacingpropertyisusedtospecifythespacebetweenthecharactersinatext.Thefollowingexampledemonstrateshowtoincreaseordecreasethespacebetweencharacters:LineHeightTheline-heightpropertyisusedtospecifythespacebetweenlines:WordSpacingTheword-spacingpropertyisusedtospecif...
Text SpacingIn this chapter you will learn about the following properties:
text-indent letter-spacing line-height word-spacing white-space Text IndentationThe text-indent property is used to specify the indentation of the first line of a text:
Letter SpacingThe letter-spacing property is used to specify the space between the characters in a text.
The following example demonstrates how to increase or decrease the space between characters:
Line HeightThe line-height property is used to specify the space between lines:
Word SpacingThe word-spacing property is used to specify the space between the words in a text.
The following example demonstrates how to increase or decrease the space between words:
White SpaceThe white-space property specifies how white-space inside an element is handled.
This example demonstrates how to disable text wrapping inside an element:
The CSS Text Spacing Properties Prope...