CSIS Final

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

Which of the following is a valid selector for a class named menu?

.menu

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

1.5em

Which is an ending tag for an h1 element?

</h1>

The class attribute

can be used by CSS to apply the same formatting to more than one HTML element

A hidden text field

doesn't appear on the form but its data is sent to the server

When you set the position property for a block element to fixed, the element

doesn't move in the browser window, even when you scroll

To lay out a web page so it adjusts to the width of the screen, you use

fluid layout

Which type of selector applies to only one element?

id

JavaScript is a scripting language that runs

in the JavaScript engine of the browser

A web browser

is a program that runs on a client computer

In the box model for an element, the border

is between the padding and the margin

A text area is like a text field but

it can have more than one line of data

In HTML, you can code a Boolean attribute as

just the attribute name

To change the left alignment of the items in an unordered list, you set the

left padding for the ul element

When you use floating for a two-column, fixed width page layout, you need to

make sure the body element is wide enough for the columns

In a list box, the user can select

more than one option but only if the multiple attribute is on

For a two-column layout where the main content is fluid and the aside is fixed, you use CSS to

set the body width to a percent and don't set the main width

One of the ways to create a horizontal navigation menu from an unordered list is to

set the float property of each li element to left

You use a reset selector to

set the margins and padding for all elements to zero

By default, the <br> tag

starts a new line of text

When you set the position property for a block element to absolute, the browser

takes the element out of the flow of elements on the web page

A description list is a list that consists of

terms and descriptions

To remove the underlining from an <a> element, you can use CSS to set its

text-decoration property to none

The title element in the head section of an HTML document specifies the text

that's displayed in the browser's tab for the page

When you include JavaScript in a web application, the code is run by

the Java Script engine of the web browser

You can use the CSS list-style-type property to change

the bullet or number style in an unordered or ordered list

When you set the border for a block element, you can set

the color, style, and width

When you use viewport height (vh) to size fonts,

the font size changes as the size of the viewport changes

If more than one style rule is applied to an element, which style rule is applied?

the one with the selector that has the highest specificity

HTML is used to define

the structure and contents of a web page

When you use media queries for responsive web design,

the styles for one media query are inherited by the media queries that follow

An HTTP response is sent from

the web server to the client

When you use the float property for page layout, you should also set

the width of the floated elements

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

top and bottom borders, top and bottom margins, and top and bottom padding

When you used fixed positioning for a block element, you can

use the top, bottom, left, and right properties to set its position on the page

Pseudo-class selectors let you apply formatting

when specific conditions occur

Which of the following selectors is most specific?

#nav

The WebP format was developed by Google as a replacement for

JPEG and PNG files

When the user clicks a submit button for a form,

HTML5 validation is done and the data is sent to the server if no errors are found

To create an animated image, you use

a GIF file

You can use the figcaption element to add a caption to

a figure element

A valid HTML document requires

a head element and a body element within an html element

To apply the styles in an external style sheet to an HTML document, you need to code

a link element in the head section

To help the visually impaired, you should provide a description of the image in the image element's

alt attribute

Which of the following units is a relative unit of measurement?

an em

Which of the following units of measurement is equal to the font size for the current font?

an em

By default, the element in the box model is

as tall as it needs to be for its contents

The DOM for a web page is built

as the page is loaded

By default, which type of element is displayed on a new line?

block elements

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


Conjuntos de estudio relacionados

Cultural Reflections in Art and Artifacts

View Set

Understanding Business Chapter 6

View Set

FAMILIES AND HOUSEHOLDS - TOPIC 5 **CHANGING FAMILY PATTERNS**

View Set

self assessment quizzes/IRATS 602

View Set

Chapter 13: Psychosocial problems

View Set

Institutional structure of the EU

View Set

National Topic Tester - Property Ownership

View Set