CSS Flashcards
1.CSS stands for _____________?
Cascading Style Sheets
1.CSS stands for _____________?
It allows us to add style and layout to our web pages
3.two ways of including CSS in our HTML
1.We can write our CSS directly between two style tags, this isn’t very common 2.More often, we will link to an external CSS file using the link element.
- what are the 2 attributes the link element has?
rel & heref
- _____will refer to the type of file we are linking:
rel
6._____point to the location of the file on your computer, or more simply, the file name.
heref
7.type - p, div, h1, or body are all examples of what? with a certai class or id
elements
8,By adding a ____ or _______ attribute to an element, we then make it possible for the CSS to select that element more easily and accurately
class or id
9.In CSS, after the name of the selector, we will use______ to hold property and value styles for that selector
braces ({})
- Styling rules will need to adhere to a certain ______ in our CSS so that the browser knows how to read them properly.
syntax
11.Within the braces, we will then have the ____ of the property, a _____, and the _____of the rule. This will be followed by a _______
name….colon (:)…..
12._____ are titles that can only appear on a single element
id’s
13,______on the other hand can apply to multiple elements
classes
14.Class selectors will always begin with______
. (period)
- and Id selectors will always begin with________
#