Styling Text

We will work with properties and values like:

font-size: 26px;		Many ways to size texts in CSS. 
					(16 pixels = default)
font-family: sans-serif;	You can choose many different 
					font-families.
text-transform: uppercase;	Changes all letters to uppercase.
font-style: italic;		Changes all letters into italic.
line-height: 1.5;		Changes the lines between the 
					lines. (1 is normal.)
text-align: center;		Centers the text in the middle 
					of it’s block or page.

Inheritance – for example all <p> paragraph items will receive the same font-size even if it is marked with a <strong> or bold, or <em> or italicized.

This entry was posted in Web Developer Course and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *