Harvard Extension School
CSCI E-12 Fundamentals of Web Site Development | Spring 2019

## 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>p { color: red; background-color: blue; }

- Markup
- Style
- Screenshot

     <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;
      }

Copyright © David Heitmeyer