Course Content
CSS Fundamentals
CSS Fundamentals
Text Styling
text-decoration
The text-decoration
property can be applied to any text content, including links, headings, paragraphs, and lists. It adds line effects such as underlining. Common values:
Let's run the following example and see the difference between all the property values.
index
index
index
text-transform
The text-transform
property allows us to change the capitalization of text content in HTML elements.
Let's consider the difference between all the property values:
index
index
index
text-align
The text-align
property allows you to horizontally align text content.
index
index
index
Thanks for your feedback!