Nearby lessons
11 of 19✍️ CSS Text Properties
📌 What are CSS Text Properties?
CSS Text Properties allow you to control the appearance and behavior of text in HTML elements. These properties influence alignment, spacing, transformation, decoration, and more.
They are essential for building readable, accessible, and well-designed web interfaces.
📍 Text Align
Demonstrates all values of the text-align property.
Example02
🖋️ Text Decoration
Shows how to apply underline, overline, line-through, and remove decorations.
Example03
🔠 Text Transform
Demonstrates capitalize, uppercase, lowercase, and none.
Example04
↔️ Text Direction
Illustrates left-to-right and right-to-left directions.
Example05
🔢 Text Indent
Adds indentation to the first line of a paragraph.
Example06
🔤 Letter & Word Spacing
Controls spacing between characters and words.
Example07
📏 Line Height
Adjusts the spacing between lines of text.
Example08
📦 Text Overflow
Explains how to clip or add ellipsis when text overflows.
Example09
🌫️ Text Shadow
Applies shadow effects to text.
Example10
📄 White-space
Demonstrates how white-space is handled in text.
Example11
🧠 Test Your Knowledge
5 QuestionsProgress: 0 / 5