CSS — Text Alignment & Spacing
Text alignment and spacing are essential for readability and design. CSS allows you to align text to the left, right, center, or justify it evenly. You can also control the space between lines of text using the line-height property and adjust the space between letters with letter-spacing. These properties help create clean, professional layouts and improve the overall user experience. Good spacing makes content easier to read and more visually appealing.
h2 { text-align: center; }
p { line-height: 1.8; letter-spacing: 1px; }