Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 3: Web Design with Cascading Style Sheets (CSS)!

Instruction

Properties for Text Formatting

Text formatting properties control text alignment, indentation, decoration, and vertical positioning within an element.

  1. text-indent: Specifies the indentation of the first line of text.

Example:
css

text-indent: 2em;
  1. text-align: Controls the horizontal alignment of text.
    • Values: left, center, right, justify

Example:
css

``...