The property color is used to specify the text color.
The color can be defined in three ways:
1. - Indicating the name of the color
2. - Indicating the color HEX value
3. - Indicating the RGB color value
Used to indicate the horizontal alignment of the text. The alignment can be left, right, center and justified.
Syntax TEXT ALIGNMENT
Alignment of the text to the left
Alignment of the text to the right
Alignment of text to center
Justified text alignment
The attribute text-decoration is used to add or remove text decorations.
To put a line through our text
To delete a text:
To underline text
To blink a text
The attribute text-transform is used to convert text to uppercase or lowercase.
To convert text to uppercase:
To convert text to lowercase:
To put the first letter of a text in uppercase
Example TEXT TRANSFORM:
We can create a style called "uppercase" and then use it where we want to convert some text to uppercase:
TEXT IDENT is used so that the first line of a paragraph begins a little more to the right than the rest of the paragraph
For example, if we want all paragraphs are your first line separated a bit (50 px) to the right: