reading-notes

Class 5: CSS

What is the purpose of CSS?

CSS, or Cascading Style Sheets, is the language for describing the presentation of Web pages, including colors, layout, and fonts.

What are the three ways to insert CSS into your project?

  1. Externally - Example: <link rel="stylesheet" href="nameoffile.css">
  2. Internally -Example: <style> within html
  3. Inline - Example: <p style="color:red;">This is a paragraph.</p>

Write an example of a CSS rule that would give all <p> elements red text.

p {color: red;}

Class References

Read

Skimmed

Resources