Example: Styling text

In upcoming steps we will discuss both colours and sizes in detail. Don't be concerned if the values used in the example do not yet make sense to you.

In our example, notice that the first paragraph has both underline and line-through as values for text-decoration.

Note:

Hints:

  • undefined
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
<!DOCTYPE html>
<html lang="en">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
.first {
    font-styleitalic;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX