CSS Basic Examples

Cascading Style Sheets

CSS is a way of formatting html. You can style the text and the layout of a document. CSS lets us create styles once, then reuse those styles when needed. This can come in handy when a website has multiple pages. It also ensures that a website remains uniform in appearace.


You can set the color of your text to blue.

You can set the color of your text to orange.

Some reserved color names you can use

Changing the size of text

Small

Normal

Large

Styling text

boldness

italic

underline

Other ways to format text with CSS

Superscript and Subscript

Left, Right, Center Alignment

Left

Right

Center

Justify

Shadows

75th Annual Celebration

Town Center