NDSU Comm 260 Midterm

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

In the rule set that follows, the selector applies to all elements that have "red" as their ____________________________ name. .red { color: red; }

class

The img element that follows <p><img src="../images/logo.gif" alt="Murach Logo"></p>

displays "Murach Logo" if the image can't be found

The <a> element that follows <a href="update.html">Update</a>

displays "Update" as a link

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

As a best practice, you should only use the height and width attributes of an img element to specifiy

the actual size of the image

An HTTP response is sent from

the web server to the client

Which of the following selectors applies to all <a> elements with "hot" as their class name that are coded within a div element that has "header" as its id?

#header a.hot

Which of the following selectors is most specific?

#nav

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

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

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

For user accessibility, you should apply the same formatting to the :focus pseudo-class for an element as you apply to the ____________________ pseudo-class for that element.

:hover

Every paragraph must begin with this tag:

<p>

Why is is it beneficial to use CSS styles in addition to the basic HTML structure tags in a Web page?

A. CSS allows you to separate the page design from the page content. B. You can more closely control the appearance of the page using CSS styles. C. You can avoid using awkward HTML tables for page layout. D. All of the above. Correct: D

Visual impairments are a major focus for web developers when considering accessibility issues. Which of the following types of visual impairment msut you consider when developing your stie?

A. Total blindness B. Low vision C. Color and contract deficiencies D. Photosensitive seizures E. All of the Above Correct: E. All of the Above

The normalize.css style sheet

Causes all browsers to render HTML elements the same way

To test a website after it has been uploaded to the web server for the first time, you need to do all but one of the following. Which one is it?

Check the contents on each page

Which of the following should you do to provide accessibility to img elements with useful content?

Code an alt attribute that describes the image

You use a/an _______________________ program to transfer files to and from the web server.

FTP

Which of the following is NOT a guideline for usability?

Make sure that pages are easy to work with on smaller devices.

Which of the following is NOT a guideline for web writing?

Use short text for all links

When you use an external style sheet with an HTML document, you get all but one of the benefits that follow. Which one is it?

Your CSS files are easy to create and maintain

A valid HTML document requires

a head element and a body element

Within a CSS rule set, a declaration (rule) includes

a property and a value

What character entity is created by the &nbsp; character?

a space

To help the visually impaired, you should always provide an adequate description of the image in the _______________________ attribute for the image.

alt

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

an em

A child selector in CSS allows you to select elements that

are a direct descendant on an element

Three inline elements are

b, a, and img

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

To provide the top-level formatting for a page, a style sheet commonly formats

body and HTML5 semantic elements

Three of the common CSS selectors select

by element type, id attribute, and class attribute

Which of the following is NOT one of the ways that you can specify a color in CSS?

color: getColor("red");

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

container

Underlining and overlining are a type of text formatting that is referred to as text ____________________________.

decoration

The first step in the design of any website should be to

define the target audience and goals of the website

When you _____________________ a website, you upload its folders and files from a WAN to an Internet Server.

deploy

The system lifecycle consists of

design, implementation, and maintenance

When the code that follows is loaded into the browser, it "<h2>About this book</h2>"

displays "About this book" in the default h2 format

Times New Roman is a font ____________________________.

family

Although the img element is an inline element, you can use CSS to _______________________ an img element so the HTML elements that come after it will flow into the space along side of it.

float

The HTML5 figure element is typically used as a container for

images ?

The <a> element that follows goes to a web page "<a href="books/javscript.html">JavaScript and DOM Scripting</a>"

in a folder that is subordinate to the current page

The most common type of image format for photographs in web pages is the _____________________ format.

jpg

When you design a website, you should

keep the mobile design in mind even if you design for the desktop first

To include a CSS file in an HTML document, you use the _______________________ element.

link

To start a new CSS file from a template in Aptana, you

link to the template when you start the new file

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

menu

Which of the following is NOT part of an HTTP URL:

node

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

padding

You can use ems or percentages to specify a _______________________ unit of measurement.

relative

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

To view the source code for a web page in any browser, you can

right-click the page and then select the View Source or View Page Source command

In this CSS rule, the img portion of the rule is called the: img { border-top-color: #99FF33; border-top-width: 3px; }

selector

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

solid top and bottom borders

When naming your Web page files (html files) you can use all of the following characters in the filename EXCEPT:

spaces

By default, the <br> tag

starts a new line of text

A __________________ web page is one that doesn't change.

static

To include styles in an HTML document, you can use an external style sheet, an embedded style sheet or ____________________________ attributes on inline HTML elements.

style

The term "website conventions" refers to

the presentation and operational features that most websites share

If two CSS rules conflict, which of the following rules overrides the other rule?

the rule marked as !important in a web page

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

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

top and bottom borders, and top and bottom padding

The most important rule for making a website easier to maintain is

use HTML for the content and CSS for formatting and page layout

To create a thumbnail for a larger image, you can

use an image editor

Pseudo-class selectors let you apply formatting

when specific conditions occur

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

width


संबंधित स्टडी सेट्स

Unit 4: Financial Markets (Kahoot and Notes)

View Set

ASVAB - Arithmetic Reasoning / Mathematics Knowledge 2

View Set

Writing Equations in Point-Slope and Slope-Intercept Form

View Set

Econ 201 - Study Questions (Ch. 10-13)

View Set