Web Design Chapter 6

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Choose the best option of a descendent selector that configures the anchor tags within the element assigned to an id named special.

#special a

The CSS universal selector is indicated by which symbol?

Asterisk (*)

From the choices, select the correct order to code CSS pseudo-classes.

link, visited, hover, active

When using the box model, the ____ is always transparent.

margin

Select the best option that could be used to clear a right float.

clear: right

The CSS to create the class called "myfloat" that floats to the right of the page content, has a 10px margin, and a solid border is

.myfloat {float: right; margin: 10px; border: 1px solid #000000;}

Choose the best option that configures a comment in CSS.

/*comment*/

The default value for the border property for an element is "0" (zero) pixels.

True

The hover pseudo-class configures the styles that will apply when the mouse is on a hyperlink.

True

Use an id to configure a style when the style will apply to only one element on a page.

True

Use fixed 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.

True

Use the float or clear property to clear a float.

True

Use the list-style-image property to configure an image to use as a bullet point in an unordered list.

True

When configuring the background color of an element, the background color is applied to both the content and padding areas.

True

Choo the HTML5 element that is used to configure an area on a web page that can stand on its own and could potentially be syndicated.

article

The ____ HTML5 element is used to contain tangential or supplemental content.

aside

To apply a style to one or more elements on a web page, configure a CSS

class

If an element is configured with ___ the content on the page will appear to its left.

float: right

Which of the following configures a margin for an element with the following values: top margin 30px, left margin 150px, right margin 0px, and bottom margin 0px?

margin: 30px 0 0 150px

Choose the best example of a descendent selector that configures the anchor tags with the nav element.

nav a

Set list-style-type to the value ___ to hide the display of the list markers on an ordered list.

none

___ flow displays the elements on the page in the order they appear in the web page source code.

normal

Select the best option that configures a container to clear all floated elements that are within the container.

overflow: auto

The ___ is the area between the content and the border.

padding

The box model consists of a content area surrounded by

padding, border, and margin

Use the ____ property along with the left, right, and/or top property to precisely configure the position of an element

position: absolute

Use ___ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser.

relative


Ensembles d'études connexes

7: The Classical Greek Poleis and The Achaemenid Empire 33-45, 115-151

View Set

Verbal: Analogies & Definitions (Filipiknow)

View Set

Chapter 5 Legal Liability in Auditing & Assurance

View Set