HTML fill in the black and multiple choice Ch.5

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

The code that follows border-style: solid none; means that the box should have

b. solid top and bottom borders

In the code that follows margin: 0 auto; the auto keyword means

b. to center the element horizontally within the containing block

To calculate the height of a box when using the box model, you add the height of the content area to the sum of the heights of the

b. top and bottom borders, top and bottom margins, and top and bottom padding

By default, the box for a block element is as wide as the _________ that it's in.

block

If you want to use padding to control the spacing before and after h2 elements, you should start by setting the ____________________________ for those elements to zero.

margin

. By default, if you specify a background image for a block element, it will be _____________________________ both horizontally and vertically so it fills the block element.

repeated

If the bottom margin for one element is 1.5 em and the top margin for the element below it is 1 em, how large is the margin between the two elements when the page is rendered in a browser?

1.5 em

You use a reset selector to a. set the margins and padding for all elements to zero b. set inherited properties to their default values c. set the font sizes for all text elements to their defaults d. set the background color for all elements to white

a. set the margins and padding for all elements to zero

The code that follows padding: .5em 0 .25em; applies this padding to an element:

b. .5em above, 0 left and right, and .25em below

If you set the background color for the body of a page to blue and you don't set the background color for a section within the body, the background of the section will be _____________________________.

blue

Which of the following formatting can you NOT apply to boxes using CSS3?

c. radial gradients

By default, the box for a block element is as tall as the _________________ requires.

content

In the box model, the border comes between the margin and the _____________________ for box

padding

When you set a border for a block element, you can set the color, style, and _____________________________.

width


Set pelajaran terkait

INTB 1203 First quiz study guide

View Set

CITI (Institutional Conflicts of Interest (COI-Basic))

View Set

Chapter 4 - Communicating for Success

View Set

Foundations Assesment Test Review

View Set

Marketing 5000 - Exam Part 1 chapter 7-12

View Set