brainscape4 Flashcards

1
Q

Which of the following is an appropriate name for a CSS class? Bigheading, .bigheading, Big heading, 1big heading

A

Appropriate name: .bigheading

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

What do the following css items do in a CSS document? a:hover, a:link, a:active

A

a:hover: Styles a link when the mouse is over it; a:link: Styles an unvisited link; a:active: Styles a link at the moment it is clicked

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

What does border: thin; do in CSS?

A

Sets a thin border

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

What does background-color: red; do in CSS?

A

Sets the background color to red

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

What does border-style: dashed; do in CSS?

A

Sets the border style to dashed

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

What does position:absolute; left:200px; top:500px; do in CSS?

A

Absolutely positions an element 200px from the left and 500px from the top of its containing element

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

What does float:right; do in CSS?

A

Floats the element to the right

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

What does color: #4477ff; do in CSS?

A

Sets the text color to a specific blue shade

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

What is the purpose of a div tag?

A

To group together HTML elements and apply styles or scripts to them collectively

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

If a CSS document contains .biggreen {background-color: yellow; color: #00ff00; font-size: 25pt;}, what would <span>hello</span> world<br></br> Isn’t life good display?

A

‘hello’ in 25pt font size, yellow background, and green text. ‘world Isn’t life good’ remains unaffected.

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

If a CSS document contains .geentopleft {position: absolute; top: 20px; left: 20px; background-color: green;}, what would <div class='geentopleft'>Message of the day</div> display?

A

A green box with ‘Message of the day’ 20px from the top and left of the containing element.

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

What does border-style: outset; do in CSS?

A

Gives a 3D, raised appearance

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

What does border-style: inset; do in CSS?

A

Gives a 3D, sunken appearance

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

What does // in a PHP document do?

A

Internal documentation

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

What is pseudocode best described as?

A

“Steps of code

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