Simple CSS Example

Example 3.29 - Simple CSS Example - Example 3.29 (Without Styles) |
 <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; 
  }
 

Screenshot

Copyright © David Heitmeyer