CSS Intro & File Set Up
Cascading Style Sheets
Last updated
Cascading Style Sheets
Last updated
CSS Controls how HTML elements appear on the page and save time by allowing you to make and store formatting designs on document that can be re-used for several websites.
CSS Style Sheets do NOT contain any content - they only contain formatting information
Create a new document in your notepad
ave this file as style1.css
in the HTML folder on your desktop
Selector: Which tag are we developing the formatting for. In the example - we are indicated that every time we use <h1>
, the font will be blue and size 12.
Each formatting declaration is separated by a ;
First you indicated which formatting property you want to set and then after the :
you provide the value