chpt. 6

Ace your homework & exams now with Quizwiz!

code a descendant selector that configures the anchor tags within the element assigned to an id named special

#special a

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

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

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

margin

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

padding

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

padding

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

Use an id to configure a style when:

the style will apply to only one element on a page

What is 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? Intended to present an independent entry such as a blog entry.

article

The ________ HTML5 element is used to configure the top logo area on a web page

header

the ____ pseudo-class configures the appearance of the hyperlink before it is clicked

link

What is the correct order to code CSS pseudo-classes?

link,visited,hover,active

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

normal

what code configures a container to clear all floated elements that are within the container?

overflow:auto

Use a ... when you want to specify an element within the context of its container (parent) element.

CSS descendant selector

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

class

use the _____ or _____ property to clear a float

clear or overflow

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

float:right

Code a descendent selector that configures the anchor tags with the nav element.

nav a


Related study sets

PN PASSPOINT: Basic Psychosocial Needs

View Set

International Business Chapter 13 Multiple Choice

View Set

OB Ch 6: Nursing Care of Mother and Infant During Labor and Birth Ch 7: Nursing Management of Pain During Labor and Birth

View Set

Pharmacology Chapter 11- General and Local Anesthetics

View Set

chapter 10- 14 questions personal health

View Set

The SSS proof used the rigid transformations illustrated here. Which transformations are used?

View Set

ACCT 211 - Chapter 4 Learn Smart

View Set