Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Text Styling | Text Styles
CSS Fundamentals
course content

Contenu du cours

CSS Fundamentals

CSS Fundamentals

1. Introduction to CSS
2. Text Styles
3. Box Model and Layout
4. Flexbox
5. Decorative Effects

book
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.

html

index.html

css

styles.css

copy

Output

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:

html

index.html

css

styles.css

copy

Output

text-align

The text-align property allows you to horizontally align text content.

html

index.html

css

styles.css

copy

Output

1. What CSS property allows to change the capitalization of text content?

2. What CSS property allows to horizontally align text content?

3. What CSS property allows you to add visual effects to the text content, such as underline or strike-through?

What CSS property allows to change the capitalization of text content?

What CSS property allows to change the capitalization of text content?

Sélectionnez la réponse correcte

What CSS property allows to horizontally align text content?

What CSS property allows to horizontally align text content?

Sélectionnez la réponse correcte

What CSS property allows you to add visual effects to the text content, such as underline or strike-through?

What CSS property allows you to add visual effects to the text content, such as underline or strike-through?

Sélectionnez la réponse correcte

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 1
We're sorry to hear that something went wrong. What happened?
some-alt