Introduction of Css Text Align property
Css text-align property is used to set alignment of text.
Css text-align property can set follwing values
- left this property value sets alignment of text to left.
Syntex : selector { text-align:left; } - right this property value sets alignment of text to right.
Syntex : selector { text-align:right; } - justify this property value sets alignment of text to justify. This way automatically sets lift and right margin for each line.
Syntex : selector { text-align:justify; } - Click to practice online example
No comments:
Post a Comment