reading-notes

Design Web Pages with CSS

Notes

What is CSS

CSS or “Cascading Style Sheets” is used to manipulate HTML from it’s default styling.

- Example: 

`Selector {
    property: value;
}`

Good Practice

How to start

Applying CSS

Selectors

Property and Value

Answers

  1. CSS is a style language used to alter or manipuate the appearance of HTML’s standard structure.

  2. Three Ways to Insert CSS into a project:
    1. External CSS
      • Acheived by adding a reference to a style sheet in the <head> section of the HTML page or pages. The style sheet must be saved in a .css extension and is housed in the working repository with the HTML file.
    2. Internal CSS
      • This refers to a style sheet being added into the HTML file instead of an external CSS file.
    3. Inline CSS
      • Used to apply desired style to a single element.
  3. p { color: red; }