COM S 106 - Chapter 6

25 July 2022
4.7 (114 reviews)
10 test answers

Unlock all answers in this set

Unlock answers (6)
question
article
answer
Choose the HTML5 element below that is used to configure an area on a web page that can stand on its own and could potentially be syndicated, such as a blog posting, comments, or e-zine article that can stand on its own. - div - section - article - aside
question
link, visited, hover, active
answer
From the choices below select the correct order to code CSS pseudo-classes. - link, hover, visited, active - hover, link, active, visited - link, visited, hover, active - link, hover, active, visited
question
float:right;
answer
If an element is configured with _ the other content on the page will appear to its left. - position:left; - position:relative; - float:left; - float:right;
question
.myfloat { float:right; margin:10px; border: 1px solid #000000; }
answer
The CSS to create the class called myfloat that floats to the right of the other page content, has a 10px margin, and a solid border is: - .myfloat { float:right; margin:10px; border: 1px solid #000000; } - #myfloat { right:float: margin 10px; border: 1px solid #000000; } - .myfloat { float:right; 10px:margin; border: 1px solid #000000; } - .myfloat { float:right; margin:10px; border: on; }
question
padding, border, and margin
answer
The box model consists of a content area surrounded by: - a border - padding, border, and margin - border and margin - spacing, border, and margin
question
0 pixels
answer
The default value for the border property for an element is: - 1 pixel - 0 pixel - 3 pixels - 10 pixels
question
fixed
answer
Use _ positioning to configure the location of an element to remain the same and to not move even when the web page is scrolled within the browser viewport. - absolute - static - relative - fixed
question
relative
answer
Use _ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser. - absolute - float - relative - display
question
clear or overflow
answer
Use the _or _ property to clear a float. - float or clear - clear or overflow - position or clear - overflow or float
question
normal flow
answer
_ displays the elements on the page in the order they appear in the web page source code. - class flow - element flow - margin flow - normal flow