Reading-Notes

Reading Notes Class 5

  1. What is the purpose of CSS? The purpose of CSS is to language much like HTML, however is it more indepth. CSS helps us to build layouts and styles to present documents to a user. We can use CSS to adpapt our documents to be used for different web services is Firefox, Google Chrome, or Edge.
  2. What are the three ways to insert CSS into your project?
    • External CSS. With an external style sheet, you can change the look of an entire website by changing just one file. External styles are defined within the element, inside the <head> section of an HTML page.
    • Internal CSS. An internal style sheet may be used if one single HTML page has a unique style. Internal styles are defined within the
    • Inline CSS. An inline style may be used to apply a unique style for a single element. nline styles are defined within the “style” attribute of the relevant element.
  3. Write an example of a CSS rule that would give all < p> elements red text.

< html> < body>

< p style=”color:red;”>This is a paragraph.< /p>

< /body> < /html>

## Additional Information/ Questions