brainscape4 Flashcards
Which of the following is an appropriate name for a CSS class? Bigheading, .bigheading, Big heading, 1big heading
Appropriate name: .bigheading
What do the following css items do in a CSS document? a:hover, a:link, a:active
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
What does border: thin; do in CSS?
Sets a thin border
What does background-color: red; do in CSS?
Sets the background color to red
What does border-style: dashed; do in CSS?
Sets the border style to dashed
What does position:absolute; left:200px; top:500px; do in CSS?
Absolutely positions an element 200px from the left and 500px from the top of its containing element
What does float:right; do in CSS?
Floats the element to the right
What does color: #4477ff; do in CSS?
Sets the text color to a specific blue shade
What is the purpose of a div tag?
To group together HTML elements and apply styles or scripts to them collectively
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?
‘hello’ in 25pt font size, yellow background, and green text. ‘world Isn’t life good’ remains unaffected.
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 green box with ‘Message of the day’ 20px from the top and left of the containing element.
What does border-style: outset; do in CSS?
Gives a 3D, raised appearance
What does border-style: inset; do in CSS?
Gives a 3D, sunken appearance
What does // in a PHP document do?
Internal documentation
What is pseudocode best described as?
“Steps of code