CSS (3/15) Flashcards

1
Q

What is the purpose of an HTML form element?

A

To collect user input data

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

Give five examples of form control elements.

A
Input
Secret
textarea
button
submit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give three examples of type attribute values for HTML elements.

A

check
radio
email

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

Is an HTML element a block element or an inline element?

A

Inline

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

What are the six primary HTML elements for creating tables?

A
table
thead
tbody
th
tr
td
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What purpose do the thead and tbody elements serve?

A

To distinguish b/w the header and data in the table

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

Give two examples of data that would lend itself well to being displayed in a table.

A

stats, highlights, payment options, etc.

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

What are the names of the individual pieces of a CSS rule?

A

selector, code block: property & values,

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

In CSS, how do you select elements by their class attribute?

A

.element

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

In CSS, how do you select elements by their type?

A

(just type it in) element

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

In CSS, how do you select an element by its id attribute?

A

element

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

Name three different types of values you can use to specify colors in CSS.

A

keyword, Hex, RGBA

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

What CSS properties make up the box model?

A

Border, Margin, Padding, Content

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

Which CSS property pushes boxes away from each other?

A

Margin

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

Which CSS property add space between a box’s content and its border?

A

Padding

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