The CSS styles consist of definitions for designs for objects in the HTML page. CSS definitions, or styles, can affect single HTML tags, or whole sections marked up with tags like <div> or <p>. They affect the look and behaviour of those parts, either by changing the design for general HTML tags (like you can change the behaviour of the HTML tag <h1> (for a headline)) or you can address specific sections by giving them an ID in the HTML page and adressing only certain tags (not changing all <h1> tags in general, but only those named in the HTML page).
There are three different ways of placing a CSS style.
change all H2 (headline) tags from having the size in 20 pixels and being centered on the page to having the size in 30 pixels, in red and aligned to the left. This you can easily do by giving the name of the tag, and then putting the new styles into curly brackets, like so:
h2as the tag to get new styles, and we have put the new styles between the curly brackets, each style separated from the next by a semicolon.
reada certain class (and act/look according to the styles therein), we have to give those objects a name, and then put that name again in the definition of the class, in the styles section.