Web Page Development Final Review

Web Page Development Final Review

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Identify the option that defines how positions are measured on the background in the following background property: background: color url(url) position / size repeat attachment origin clip;

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 14, 2020

Cards (148)

Section 1

(50 cards)

Identify the option that defines how positions are measured on the background in the following background property: background: color url(url) position / size repeat attachment origin clip;

Front

origin

Back

Identify a text-level element that indicates a span of text that expresses an alternative voice or mood.

Front

i

Back

The Yacht club has a web site that consists of a picture of the yacht club room along with the yacht club rules on the left. On the right side is a list of upcoming events, the company logo, and the yacht club teacher training dates. Sue, the web designer, needs some help with Cascading Style Sheets (CSS) to make sure the pages display correctly. ​Sue needs to create a _____ style sheet so that no unwanted styles can creep in from any browser's internal style sheet.

Front

reset

Back

A(n) _____ supersedes a browser's default styles and provides a consistent starting point for page design.

Front

reset style sheet

Back

To center an element vertically within its parent element, display the parent element as a table cell with a defined height and then set the vertical-align property to _____.

Front

middle

Back

Identify the style that can be used to create elongated or elliptical corners.

Front

​border-radius: horizontal/vertical;

Back

Embedded style sheets are created by web page authors and consist of styles that are inserted directly within the body element of a Hypertext Markup Language (HTML) document.

Front

False

Back

Terry is building a web site and wants to have three main links called Home, Product Info, and Contact Us. She will create a hierarchy of page elements and revise the style sheets. To apply a style to all elements in a document, Terry should use the _____ selector.

Front

*

Back

In order for computers to share resources efficiently, they can be linked together in a structure called network.

Front

True

Back

_____ units express font size according to the size of other objects within a web page.

Front

Relative

Back

Nested elements are elements that are either nontextual or contain directives to a browser about how a page should be treated.

Front

False

Back

A generic font describes the general appearance of a typeface and relies on a specific font definition.

Front

false

Back

_____ is the tint of a color and is usually represented by a direction on a color wheel.

Front

Hue

Back

The display type value _____ is displayed as a block unless its next sibling is also a block, in which case, it is displayed in-line, essentially combining the two blocks into one.

Front

run-in

Back

Absolute units are units that are fixed in size regardless of the output device and are usually used only with printed media.

Front

True

Back

A group of web designers and programmers called the _____ settled on a set of standards for all browser manufacturers to follow.

Front

​World Wide Web Consortium

Back

Centering an element vertically within its parent element is easily accomplished as the height of the parent element is defined by a value.

Front

False

Back

What is the value of the list-style that will cause no marker to be displayed?

Front

none

Back

Extensible Hypertext Markup Language (XHTML) version _____ is a reformulation of HTML 4.01 in the Extensible Markup language (XML) language in order to provide enforceable standards for HTML content and to allow HTML to interact with other XML languages.

Front

1.0

Back

Web pages are accessed through a software program called a _____.

Front

​web server

Back

The first line in a Hypertext Markup Language (HTML) file is the _____, which is a processing instruction indicating the markup language used in a document.

Front

​doctype

Back

Cascading Style Sheets (CSS) allow RGB values to be entered as _____.

Front

hexadecimals

Back

Setting the display style to none hides an element but does not remove it from the page flow.

Front

False

Back

A(n) _____ supersedes a browser's default styles and provides a consistent starting point for page design.

Front

reset style sheet

Back

Which of the following properties is used to define the thickness of a specific border?

Front

​border-side-width: width;

Back

Identify the property that can be used to change the definition of an element's background.

Front

​background-clip: type;

Back

A comment in a Hypertext Markup Language (HTML) file appears in the browser window when a page is displayed.

Front

False

Back

Hypertext Markup language (HTML) version _____ added interactive elements, including web forms.

Front

2.0

Back

A _____ is one in which the size of the web page and the size of its elements are set regardless of the screen resolution.

Front

fixed layout

Back

A pixel is a relative unit because the actual rendered size depends on the density of the output device.

Front

True

Back

A fluid layout is one in which the size of a web page and the size of the elements within it are set regardless of the screen resolution.

Front

False

Back

Terry is building a web site and wants to have three main links called Home, Product Info, and Contact Us. She will create a hierarchy of page elements and revise the style sheets. In this case, the Home page contains two _____ elements.

Front

child

Back

Hypertext Markup language (HTML) version _____ added support for style sheets to give web designers greater control over page layout and appearance.

Front

4.01

Back

Alex's woodworking shop is trying to design a web page with Cascading Style Sheets (CSS). Alex would like create the new design based on the latest elements and styles from Hypertext Markup Language (HTML) and CSS. He has created a few sample pages: home.html ---describes the business and contact information product.html ---displays a list of product descriptions custom.html ---displays a list of custom products Alex had forgotten to give any style for all of his pages. In this case, identify the style that would be applied to his pages.​

Front

​User agent style

Back

A technique known as _____ places code conforming to older standards before newer properties, providing support for old browsers but still allowing newer standards and techniques to be used by the browsers that support them.

Front

progressive enhancement

Back

The _____ value of the display style removes an element from a rendered page.

Front

none

Back

User-defined styles can be superseded by external styles, which are the styles that a website author creates and places within a Cascading Style Sheets (CSS) file and links to the page.

Front

True

Back

The color scheme that uses two hues close to one another on the color wheel in which one color is the dominant color and the other is a supporting color used only for highlights and nuance is _____.

Front

analogic

Back

Ted is asked to create a page containing his family photos for a family reunion website. He will has about 20 pictures to post, with a caption that he wants to display before each one. Each picture is a group photo of a particular family. Which tag will Ted need to use to display the pictures?

Front

​<img src>

Back

A _____ is a classification of an element based on its current status, position, or use in a document.

Front

pseudo-class

Back

A _____ sets the width of page elements as a percent of the available screen width.

Front

fluid layout

Back

When nesting one element inside of another, the entire code of the inner element must be contained within the outer element, including opening and closing tags.

Front

True

Back

To force a document to appear in a new window or tab, identify an attribute that should be added to <a> tag.

Front

target

Back

Style sheets are written in the Cascading Style Sheet (CSS) language.

Front

True

Back

Identify the property that is used to choose the layout model.

Front

box-sizing

Back

One challenge of layout is that the document will be viewed on many different devices with the same screen resolution.

Front

False

Back

The display property inherit inherits the display property of a child element.

Front

False

Back

A _____ element is an element that contains one or more other elements, which are called child elements.

Front

parent

Back

The _____ element, a Hypertext Markup Language (HTML) metadata element, contains a collection of metadata elements that describe the document or provide instructions to the browser.

Front

head

Back

Ken has built a website for his assignment. He has created a blue background image for each link to the chapters that appear on the site. Also, each link appears in green without underlines. ​ ​Which of the following styles has Ken most likely used to remove the underline from links?

Front

text-decoration

Back

Section 2

(50 cards)

When you assign a value to a variable, you use an equal sign, which is also called a(n) __________ operator.

Front

assignment

Back

In a form element, attributes specify how the form should be processed by the browser.

Front

True

Back

Which of the following CSS properties is used to align the caption text horizontally?

Front

text-align

Back

A(n) _____ is created using the select and option elements that present users with a group of predefined possible values for the data field.

Front

​selection list

Back

Identify a data type applied in an input element to create slider controls.

Front

range

Back

Some of the more popular server-side scripting languages include ____.

Front

PHP, ASP.NET, and Python

Back

Which method displays a dialog box with an OK button?

Front

alert()

Back

JavaScript source files that store especially useful generic scripts used on many different websites are known as __________.

Front

libraries

Back

Which of the following HTML elements is used to create a table title?

Front

​<caption>

Back

An object is ____ that can be treated as an individual unit or component.

Front

programming code and data

Back

Although JavaScript is considered a programming language, it is also a critical part of web page design and authoring.

Front

True

Back

In the background-attachment property, the scroll type creates a background that stays in place even as the element content is scrolled horizontally or vertically.

Front

False

Back

Only one caption is allowed per web table.

Front

True

Back

get and post are two possible values for the _____ attribute.​

Front

​method

Back

Identify a syntax used to create a spinner control using an input element.

Front

<input name="name" id="id" type="number" value="value" step="value" min="value" max="value" />

Back

Which of the following HTML attributes is used to create a single cell that occupies more than one cell from a series of horizontal cells?

Front

Colspan

Back

When an event occurs, your script executes any code that responds to that specific event on that specific element.

Front

event handler

Back

Identify the option that specifies whether an image scrolls with the content or is fixed in the following background property: background: color url(url) position / size repeat attachment origin clip;

Front

attachment

Back

A(n) ____ comment occupies only a single line or part of a line.

Front

line

Back

Andy designed a web page for a product-oriented industry using CSS properties. He used several HTML tags to create the web page. He also used tables to ensure that the data is easily managed. Andy has created a table for product details where the names of the products and prices of the products are the headers of the table. Which of the following style rules should he add to place a border of 10-pixels around the table with a white background?

Front

table {background: white; border: 10px;}

Back

_____ is a single cell that occupies more than one cell row and/or column.

Front

Spanning cell

Back

The default direction for a linear color gradient is horizontal, starting from the left of an object and moving to the bottom.

Front

False

Back

The sizing keyword cover tells the browser to automatically set the width or height value based on the dimensions of the original image.

Front

False

Back

A _____ is a control used to enter text strings that may include several lines of content.

Front

text area box

Back

A form element must be placed only within the header tag of a web page.

Front

False

Back

____ refers to programming using a scripting language that is executed from a web server.

Front

Server-side scripting

Back

Identify a syntax of the option element that contains an attribute to make an option as default in a selection list.

Front

<option value="value" selected>text</option>

Back

The procedures associated with an object are called ____.

Front

methods

Back

The th element is used to mark the data cells.

Front

False

Back

Identify a widget that allows the user to interact with the form for entering numeric values confined to a specified range.

Front

Slider control

Back

Identify a syntax that displays a selection list as a scroll box with 5 options visible in the web form.

Front

​<select size="5"> ... </select>

Back

By default, legends are placed in the top-right corner of the field set box.

Front

False

Back

Andy designed a web page for a product-oriented industry using CSS properties. He used several HTML tags to create the web page. He also used tables to ensure that the data is easily managed. Which of the following properties must Andy use to make sure the table element is centered horizontally within the page content?​

Front

​margin-left: auto; margin-right: auto;

Back

Which of the following statements is true of adding adjacent borders, to a table, using CSS?

Front

​The border style with the highest priority is used if the two borders have the same width but different styles.

Back

The default browser style for data cells is to display text as unformatted text and left-aligned within the cell.

Front

True

Back

Sam is trying to decide the best way to design the background of his web page. He would like to add background images and background styles to his design. He needs to understand how browsers load a background image and learn about background style properties. ​Sam needs to know how to tell the browsers to scale the image in order to cover all of the background while still retaining the proportions of the image, even if that means cropping the image. The keyword Sam should use in the background-size: property is _____.

Front

cover

Back

When two adjacent 1-pixel-wide borders are collapsed together, the width of the resulting border is _____.

Front

1-pixels

Back

The radii of individual corners are equal to the radii of hypothetical circles placed at the corners of a box with the arcs of the circles defining the rounded circles.

Front

True

Back

Command buttons are created using the input element with the type attribute set to _____.

Front

button

Back

Even if the background images are hidden, the tiling process continues behind the page body.

Front

True

Back

Which method do you use to reference an element on a web page in a script?

Front

getElementById()

Back

Which of the following styles is used to specify the type of tiling to be applied to a background image, or even turn off tiling?

Front

​background-repeat: type;

Back

A web table contains multiple table rows with each row consisting of one or more table cells.

Front

True

Back

Identify the default type for the background-repeat style.

Front

repeat

Back

The post method is the default method that tells the browser to append the form data to the end of the URL specified in the action attribute.

Front

False

Back

A data entry control is associated with a _____ in which data values supplied by the user are stored.

Front

​data field

Back

There is no need to include a for attribute within a label element while nesting a control, if the association is made implicitly.

Front

True

Back

Which of the following is the default shape value for the radial-gradient function?

Front

Ellipse

Back

A class attribute can be included by placing a table in the schedule class to distinguish it from other tables that may exist on a website.

Front

True

Back

Identify the correct hierarchy of tags to create a web table.

Front

​<table>, <tr>, <td> </td>, </tr>, </table>

Back

Section 3

(48 cards)

A(n) ____ tells the compiler or interpreter that the character that follows it has a special purpose.

Front

escape character

Back

When a client requests a server-side script, a client will never see the server-side script, only the ____ that the web server software returns from the script.

Front

HTML

Back

____ allows programs to handle errors as they occur in the execution of a program.

Front

Exception handling

Back

A comparison operator is used to compare two operands and determine if one numeric value is greater than another.

Front

True

Back

____ can turn static documents into applications such as games or calculators.

Front

JavaScript

Back

A program's ____ is the order in which various parts of the program run, or execute.

Front

logic

Back

In a(n) ____ loop, a loop statement never ends because its conditional expression is never falsy.

Front

infinite

Back

Which of the following JavaScript statements works like a breakpoint?

Front

debugger;

Back

The strict equal operator is ____.

Front

===

Back

The rules of a programming language are known as its ____.

Front

syntax

Back

You can think of an array as a collection of variables contained within a single variable.

Front

True

Back

The debugging tools built into modern browsers are especially useful in tracking down ____.

Front

logic errors

Back

A set of statements contained within a set of braces is called the ____.

Front

command block

Back

____ is the temporary suspension of program execution so you can monitor values and trace program execution.

Front

Break mode

Back

The individual lines of code that make up a JavaScript program in a document are called ______.

Front

statements

Back

A(n) ____ label in a switch statement represents a specific value and is followed by one or more statements that are executed if the value of the label matches the value of the switch statement's expression.

Front

case

Back

You can use the compound ____ to combine two strings.

Front

assignment operator

Back

You enclose code that may contain an exception in a ____ statement.

Front

try

Back

A logical operator is used to compare two string operands for equality.

Front

False

Back

You use a(n) ____ when you want to store a group or a list of related information in a single, easily managed location.

Front

array

Back

Placing one decision-making statement within another decision-making statement creates a(n) ____ decision-making structure.

Front

nested

Back

Placing a parameter name within the parentheses of a function definition is the equivalent of declaring a new ____.

Front

variable

Back

JavaScript is a ____ programming language.

Front

loosely typed

Back

The variables or values that you place in the parentheses of a function call statement are called ____.

Front

arguments

Back

A value a program stores in computer memory are commonly called ______.

Front

variable

Back

The ____ label contains statements that execute when the value returned by the switch statement expression does not match a case label.

Front

default

Back

The most common type of decision-making statement is the____.

Front

if statement

Back

A(n) ____ type is the specific category of information that a variable contains.

Front

data

Back

A ____ variable is one that is declared outside a function and is available to all parts of your program.

Front

global

Back

A breakpoint is a designation added to a specific statement in a program that causes program execution to pause when it reaches that statement.

Front

True

Back

A(n) ____ operator requires an operand before and after the operator.

Front

binary

Back

A ____ error is a flaw in a program's design that prevents the program from running as you anticipate.

Front

logic

Back

You access an array element's value just as you access the value of any other variable, except that you include the element index in brackets.

Front

True

Back

Each repetition of a looping statement is called a(n) ____.

Front

iteration

Back

The AND operator is ____.

Front

&&

Back

Which of the following is a falsy value?

Front

0

Back

A ____ statement is a control flow statement that repeatedly executes a statement or a series of statements while the value of a specific condition is truthy or until the value of a specific condition becomes truthy.

Front

loop

Back

The ____ is a single statement that declares a variable and specifies array values as its content.

Front

array literal

Back

You use a ____ statement within a try block to specify an error message.

Front

throw

Back

Which of the following references the second element in the newsSections array?

Front

newsSections[1]

Back

If you want to execute one set of statements when a condition evaluates to a truthy value and another set of statements when the condition evaluates to a falsy value, you need the ____ statement.

Front

if/else

Back

Which arithmetic operators have the highest precedence?

Front

* / %

Back

An infinite loop is an example of a(n) ____ error.

Front

logic

Back

Which of the following is a logical operator?

Front

||

Back

Syntax refers to the order in which various parts of a program run, or execute.

Front

False

Back

Which method returns a collection of references to all instances of a certain element in an HTML document?

Front

getElementsByTagName()

Back

Writing values directly to the console is known as ____.

Front

logging

Back

Which of the following JavaScript statements requests that processors remove some features from the language and require more stringent syntax for other features?

Front

"use strict";

Back