Exam Flashcards

1
Q

makes a full width table

A

table { width: 100%;}

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

Makes Collapse Table Borders

A

table { border-collapse: collapse;}

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

Scroll down and, within the section element and after the paragraph for Required Item (*), insert a form element. This form will employ the action of formProcessor.html via the get method.

A

<h1>Conference Registration Form</h1>

<p>Required Item (*)</p>

<form><label>Title</label><input></input>
</form>

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

Within the form, add the labels and input boxes described in the following table. Place the input boxes directly after the labels and associate each label with its input box control. Do not enclose the label and input elements within div elements.

A

<label>Registration Category</label> <select> <option> </option> <option>ACGIP Member ($695)</option> <option>Non-Member ($795)</option> <option>Student ($310)</option> <option>Guest ($35)</option></select>

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

Create a style rule that will affect all of the form control elements (input, textarea, select) that does the following: a. Use the box sizing model of border-box. b. Has a width of 45% of the form. c. Has a margin on the top of 5 pixels.

A

input, textarea, select { box-sizing:border-box; width: 45%; margin-top:5px; }

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

Use the attribute selector to style only the submit button. This is the input[type=”submit”] selector. This should do the following: a. display the element as a block to put it on it’s own line, b. have auto margins & have 15 pixels of margin only on the top, c. have 5 pixels of padding for both the top & bottom and 25 pixels of padding for the left & right. d. uses the background color of #90aa90 (this is the same green color of the aside), e. uses a white text color, f. has a font size of 1.1 em. g. and has a border radius of 15 pixels.

A

input[type=”submit”] { display:block; margin:auto; margin-top : 15px; padding: 5px 25px; background-color: #90aa90; color:white; font-size:1.1em; border-radius:15px; }

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

td stands for

A

table data

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

tr stands for

A

table row

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

th stands for

A

table header

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

Defines a table caption

A

<caption>
</caption>

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

Specifies a group of one or more columns in a table for formatting

A

<colgroup>
</colgroup>

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

Specifies column properties for each column within a <colgroup> element

A

<col></col>

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

for mobile styles

A

media only screen and (max-width: 640px) {

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