PowerPoint Slide 1

 

PowerPoint Slide 2

 

PowerPoint Slide 3

 

PowerPoint Slide 4

 

PowerPoint Slide 5

 

PowerPoint Slide 6

 

PowerPoint Slide 7

Another big reason for using CSS rather than inline styles on pages is because it saves a lot of time - if your realize after the fact that you want to change the style of an element which repeats throughout the site, CSS allows you to make the change once and have it instantly globally changed while inline styling would require modification in every place that element occurs.

PowerPoint Slide 8

 

PowerPoint Slide 9

 

PowerPoint Slide 10

 

PowerPoint Slide 11

 

PowerPoint Slide 12

 

PowerPoint Slide 13

With HTML5 the following is now the correct method of linking to a stylesheet: <link rel="stylesheet" href="styles.css">

PowerPoint Slide 14

 

PowerPoint Slide 15

 

PowerPoint Slide 16

 

PowerPoint Slide 17

 

PowerPoint Slide 18

 

PowerPoint Slide 19

Class selectors don't necessarily have to start with the element. For example .my-div-class a should work just as well as div.my-div-class

PowerPoint Slide 20