Computer Science 106 Chapter 6 Quiz- ShuHui Chang
From the choices below select the correct order to code CSS pseudo-classes.
link, visited, hover, active
_________ displays the elements on the page in the order they appear in the web page source code.
normal flow
Use the ________ or _______ property to clear a float.
clear or overflow
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; }
The default value for the border property for an element is:
0 pixels
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.
article
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.
fixed
If an element is configured with ___________ the other content on the page will appear to its left.
float:right;
The box model consists of a content area surrounded by:
padding, border, and margin
Use ___________ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser.
relative