CSS Flashcards

1
Q

1.CSS stands for _____________?

A

Cascading Style Sheets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

1.CSS stands for _____________?

A

It allows us to add style and layout to our web pages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

3.two ways of including CSS in our HTML

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. what are the 2 attributes the link element has?
A

rel & heref

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. _____will refer to the type of file we are linking:
A

rel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

6._____point to the location of the file on your computer, or more simply, the file name.

A

heref

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

7.type - p, div, h1, or body are all examples of what? with a certai class or id

A

elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

class or id

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

9.In CSS, after the name of the selector, we will use______ to hold property and value styles for that selector

A

braces ({})

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. Styling rules will need to adhere to a certain ______ in our CSS so that the browser knows how to read them properly.
A

syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

11.Within the braces, we will then have the ____ of the property, a _____, and the _____of the rule. This will be followed by a _______

A

name….colon (:)…..

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

12._____ are titles that can only appear on a single element

A

id’s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

13,______on the other hand can apply to multiple elements

A

classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

14.Class selectors will always begin with______

A

. (period)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. and Id selectors will always begin with________
A

#

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

16.you can use the property ____________ to only set the color of the background.

A

background-color

17
Q

17._____ is used for text only. It will change the color of your text

A

color

18
Q

18.Font size You can use any size unit here that you would use with a font in a word processor______

A

px, em, in, and etc

19
Q

1.he _____ _____places all html elements into boxes

A

box model

20
Q
  1. a box model contains the following from the center out ______ then______ then_______then_____
A

content…padding….border….margin

21
Q
  1. We can tell the browser exactly how wide and how tall we want our element (content) to be. This is used in ____&_____
A

divs…imgs

22
Q

4.Size values can be in lots of different measures, but the most common are _______the and relative percent of screen (%)

A

pixel (“px”)

23
Q

5.The _____ is an invisible area that surrounds your content, padding, and border. This is the outermost area in the box model.

A

margin

24
Q

6._______ will set a _______ around your element. You can determine the size, color, and style of the border. It will be set up in this order: width, style, color

A

border….border