CSS Text Tutorials
The following CSS Tutorials cover different properties and use cases related to the Text of an HTML element like text alignment, text decoration, text indentation, etc.
CSS Properties
The following CSS Tutorials cover CSS Properties that are related to the background of an HTML Element.
- CSS text-alignCSS Tutorial to set the alignment for text in an HTML element using
text-align
property. - CSS text-decorationCSS Tutorial to set decoration for text in an HTML element like underline, strike-through line, changing the color of the these underline or strike-through lines, etc., using
text-decoration
property. - CSS text-indentCSS Tutorial to set indentation for text of an HTML element, using
text-indent
property. - CSS text-transformCSS Tutorial to transform text of an HTML element to uppercase, lowercase, etc., using
text-transform
property.
How-tos
The following CSS Tutorials cover how-tos scenarios related to the text of an HTML Element.
- Set first character in each word of text to uppercaseCSS Tutorial on how to to set the first character of each word in an HTML Element’s text to uppercase using
text-transform: capitalize;
. - Convert text to uppercaseCSS Tutorial on how to convert the complete text in an HTML Element to uppercase using
text-transform: uppercase;
. - Convert text to lowercaseCSS Tutorial on how to convert the complete text in an HTML Element to lowercase using
text-transform: lowercase;
. - Underline textCSS Tutorial on how to underline text in an HTML Element using
text-decoration: underline;
.