Web1 Chp-6 Quiz

¡Supera tus tareas y exámenes ahora con Quizwiz!

Advantages of using CSS for Page Layout include:

(all of these are advantages)

Which of the following is a recommended CSS debugging technique?

(all of these)

Select the example below that could be used to clear a right float.

clear: right; (don't choose overflow: right)

When using the margin property to determine the empty space between the element and any adjacent elements, specify the margins in the following order:

clockwise: margin-top, margin-right, margin-bottom, margin-left

The _____ pseudo-class configures the appearance of the hyperlink before it is clicked.

link

The correct order to code CSS pseudo-classes:

link, visited, hover, active

Use a class to configure a style when:

the style could apply to more than one element on a page.

You can code pseudo-classes in any order.

False

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:solid; }

Choose the example below that configures a comment in CSS.

/* comment */ (just like Flash, slashes with astericks)

The default value for the border property for an element is:

0 pixels

All types of browsers, old and new, experience a Web site designed using CSS for page layout in the same way.

False

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

Margin

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

Normal

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

PADDING (don't choose margin)

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

Padding

Comments used in CSS page layout can span multiple lines.

True

Normal flow causes the browser to render the element in the order that they appear in the XHTML source code.

True

The advantages of using CSS to configure page layout usually outweigh the disadvantages.

True

The float property causes the browser to display XHTML elements outside of the normal flow on the left or right side of the container element

True

The wrapper id is assigned the background color that will show through in the left column id area to help to create the two-column effect.

True

Using CSS for page layout requires some patience since it requires more time to test since even modern browsers implement CSS in slightly different ways.

True

To apply a style to a certain group of elements on a web page, configure a CSS _____________.

class

If an element is configured with ___________ the other 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 30 pixels, left margin 150 pixels, right margin 0 pixels, and bottom margin 0 pixels?

margin:30px 0 0 150px;

Select the example below that configures a container to clear all floated elements that are within the container.

overflow: auto;

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


Conjuntos de estudio relacionados

OB CH 8 Intrapartum Assessment and Interventions

View Set

MH Exam 3: Chapters 20, 21, & 25

View Set

Autosomal Reciprocal Translocations

View Set

Period 6: 1/17-1/21, Industrialization in the Gilded Age

View Set

Penny Chapter 30 - Chromosomal Abnormalities

View Set

Insurance information and privacy protection act

View Set

ASAP PACE Certificate (2022 updated)

View Set

Fluid & Electrolyte Balance- RN PassPoint

View Set