Table of Contents
|
All Slides
|
Link List
|
Examples
|
CSCI E-75
<< previous
|
next >>
Anatomy of a CSS Rule
Example 10.4
Example 10.4 Source:
<p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras sollicitudin, orci nec facilisis vehicula, neque urna porta risus, ut sagittis enim velit at orci. Fusce velit. Integer sapien enim, rhoncus vitae, cursus non, commodo vitae, felis. Nulla convallis ante sit amet urna. Maecenas condimentum hendrerit turpis. </p>
In
style
element (
<style type="text/css">
) within
head
element:
p { color: red; background-color: blue; }
Example 10.4 Rendered:
With Styles
Without Styles
CSS Rule
Selector and Declarations
Properties and Values
Table of Contents
|
All Slides
|
Link List
|
Examples
|
CSCI E-75
<< previous
|
next >>