COM S 106 - Chapter 6
article
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
link, visited, hover, active
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
float:right;
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;
.myfloat { float:right; margin:10px; border: 1px solid #000000; }
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; }
padding, border, and margin
The box model consists of a content area surrounded by: - a border - padding, border, and margin - border and margin - spacing, border, and margin
0 pixels
The default value for the border property for an element is: - 1 pixel - 0 pixel - 3 pixels - 10 pixels
fixed
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
relative
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
clear or overflow
Use the _or _ property to clear a float. - float or clear - clear or overflow - position or clear - overflow or float
normal flow
_ 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