Web page

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

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

"use strict";

Character entity references are inserted using the syntax _____.

&char;

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

1-pixels

Lucy wants to develop a web page to display her profile. She wants to just start with a basic page that lists her accomplishments, her work history, and the different computer courses she has taken. She would like each section to be clearly identified. ​Lucy's page will require at least ____ headings for what she wants to display.

3

Identify a syntax that sets the data type of the registerDate field to "date".​

<label for="register">Date of registration</label>​ <input name="registerDate" id="register" type="date" />

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

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

Which of the following HTML structures arranges text in multiple rows and columns?

<table>

___ is the process of tracing and resolving errors in a program.

Debugging

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

Exception handling

A break statement restarts a loop with a new iteration.

False

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. ​

False

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

False

Client-side image maps are easier to create but rely on a connection to the server in order to run.​

False

Command buttons are created using an input element with the type attribute set to range.​

False

Hypertext organizes data through a series of sites users can activate to jump from one piece of information to another.

False

Stacking an element takes that element out of the normal flow of the document and positions it along the left or right edge of its containing element.

False

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

False

The grouping element, ul, contains the definition associated with a term from a description list.

False

There are predefined CSS styles to format the appearance of a placeholder.

False

To import a style sheet, the command =import url(url); must be added to the style sheet file, where url is the URL of an external style sheet file.

False

​One can prevent browsers from displaying an element by setting its display property to inline.

False

​The address element in HTML 5 contains the entire content of a document.

False

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.

HTML

​The largest wide area network (WAN) in existence is the _____.

Internet

​What is the purpose of colspan in <td colspan="7">?

It sets each cell to span seven columns within its row.

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

PHP, ASP.NET, and Python

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

Server-side scripting

Wyona, the owner of Wyona's Hat Designs, desires to have a web site built for customers to order custom-made hats. They can pick from straw, leather, and other material hat collections. Customers can specify one of their existing patterns, which includes about 50 designs. They can also choose a custom pattern instead and then provide information about the pattern they want for Wyona to custom create. Which type of field should Wyona provide for the user to provide plenty of space for customers to enter the information for a custom pattern?​

Text area boxes

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

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

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

True

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

True

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

True

A table has one row with four cells and another row with five. After mapping the cells, the table will have five columns.

True

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

True

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

True

Cascading Style Sheets (CSS) allow RGB values to be entered as hexadecimal numbers.​

True

For each error encountered, a browser's console displays a line number and a description of the error.

True

Multiple shadows can be added to text by including each shadow definition in a comma-separated list.​

True

Once the field values have been entered by the user, they are processed by a program running on the user's computer or on a web server in a secure location.

True

The appearance of a command, submit, and reset button is determined by the browser.

True

The set of rules that define how information is passed between two devices are called protocols.

True

The sizing keyword contain scales an image so that it is completely contained within an element, even if that means that not all of the element background is covered.

True

There is no limit to the number of hotspots one can add to an image map.

True

User-defined styles are defined by users based on the settings they make while configuring a browser.​

True

When parameters of the radial-gradient function are omitted, they take their default values.​

True

Whether an element is displayed as a block or as inline depends on the style sheet.

True

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

True

​Element attributes provide additional information to the browser about the purpose of the element or how the element should be handled by the browser.

True

​Header cells and data cells are types of table cells supported by web tables.

True

​Only one caption is allowed per web table.

True

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

True

Which method displays a dialog box with an OK button?​

alert()

The ____ contains a set of data represented by a single variable name.

array

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

background-clip: type;

A(n) ____ comment hides multiple lines of code.​

block

​The _____ grouping element contains content that is quoted from another source, often with a citation and often indented on a page.

blockquote

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 wants the borders to be distinctly visible for each cell in the product details table. Which of the following properties must Andy add to his code to accomplish his goal?

border-collapse: separate;

​Scott works for an online retailer and has to format the border around each element on their web page. He has to set the border design and the border color for each element. He needs to understand how the appearance and color of the border can be defined. Scott wants to use the color gray for the top and left borders and black for the right and bottom borders for an element. Which of the following should he use to define this?

border-color: gray black black gray;

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

box-sizing

The ____ is the ordered list maintained by a JavaScript processor containing all the procedures that have been called but have not yet finished processing.

call stack

​The default browser style for header cells is to display the text of the header in bold font and _____ within the cell.

centered horizontally

A case label consists of the keyword case, followed by a literal value or variable name, followed by a ____.

colon (:)

____ are lines of code that are not processed by browsers, which you use to add notes about your code.​

comments

​Identify the default type for the box-sizing property.

content-box

Changing the order in which JavaScript code is executed is known as ____.

controlling flow

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

default

The console.log() debugging method results in messages ____.

displayed in the browser console

When using the console.log() method to trace bugs, it can be helpful to use a ____ program.

driver

Each piece of data contained in an array is called a(n) ____.

element

The _____ unit is the preferred style unit for web page text because it makes it easy to develop pages in which different page elements have consistent relative font sizes under any device.​

em

A value, variable, or combination that can be evaluated by a JavaScript interpreter to produce a result is a ______.

expression

Which of the following is the default size keyword in the radial-gradient function?

farthest-corner

​The _____ element is used to contain an image file and can also be used to mark any page content that should stand apart from the main content of an article.

figure

After you evaluate code for exceptions, you can use a ____ statement to perform cleanup or necessary tasks.

finally

The ____ statement is used to repeat a statement or series of statements as long as a given conditional expression evaluates to a truthy value.

for

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

getElementsByTagName()

The ____ statement is used to execute specific programming code if the evaluation of a conditional expression returns a truthy value.

if

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

infinite

The check box control is created using the _____ element.​

input

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

iteration

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

libraries

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

line

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

literal

Writing values directly to the console is known as ____.

logging

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

logic

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

logic

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

logic errors

The procedures associated with an object are called ____.

methods

Variables and literals contained in an expression are known as ____.

operands

Symbols such as + and * used in expressions to manipulate operands are known as​ ____.

operators

The conditional expression in the while statement is enclosed within ____ following the keyword while.

parenthesis

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

programming code and data

​Identify the default type for the background-repeat style.

repeat

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.

reset

HTML supports the _____ attributes to set the text area size.​

rows and cols

​To change the shadow size, the _____ parameter must be added to the box-shadow property, specifying the size of the shadow relative to the size of the object.

spread

​When a doctype is present, browsers will render the page in _____ mode, employing the most current specifications of Hypertext markup Language (HTML).

standards

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

statements

A(n) ____ compares the value of an expression to a value contained within a special statement called a case label.

switch statement

A ____ error occurs when the interpreter fails to recognize code.

syntax

The _____ value of the vertical-align property aligns the bottom of the element with the bottom of the text in a line.​

text-bottom

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?

text-decoration

Which of the following properties is used to control the casing of text within an element?

text-transform

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

try

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. What character entity reference could Ted use to add a notice at the bottom of the page to remind viewers that the photos are copyrighted?

​&copy;

Identify the correct syntax for adding comments in style sheets.​

​/*comment*/

​All block elements, like the body element, have a default width of _____.

​100%

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

​2.0

The Cascading Style Sheets (CSS) @rule that imports an external style sheet file located at ur1 is _____.​

​@import url(url);

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

​Empty elements

​Identify the use of the inset keyword used in the box-shadow property.

​It is used to create an interior shadow.

​Identify a typographic attribute that measures the amount of space between characters.

​Kerning

Oscar owns Oscar's Skateboard Shop. He wants to create a web form to allow users to specify the type of skateboards they would like to buy. This includes the make, model, type and color, and board options. Oscar's skateboards come in Children, Young Adult, and Adult sizes. Oscar's skateboards come in different colors, patterns, and themes. He has over 25 makes and models of skateboards. ​Which of the following can Oscar use to display a list of makes and models of skateboards?

​Selection lists

​By default, a browser places a table caption _____.

​above the table

The _____ pseudo-class represents the exact instant in which a link is activated.​

​active

When the footer is the last element in a page body, the _____ pseudo-element is used to add a placeholder element after the footer.

​after

Which of the following is a default value for border-collapse property?

​border-collapse: separate;

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

​button

Identify an attribute selector that recognizes groups of elements that share a similar characteristic or property.​

​class

​Which of the following is true of class in the table tag <table class=" ">?

​class is an attribute.

The _____ size parameter of the radial-gradient function makes a gradient extend to the nearest background corner.

​closest-corner

The fundamental building block in every Hypertext Markup Language (HTML) document is the _____ tag, which marks a component in the document.

​element

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

​hexadecimals

By default, browsers display input boxes as _____ elements with a default length of 20 characters.​

​inline

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 _____.

​middle

​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. ​Which display value would work best to prevent the pictures from displaying when the web page loads?

​none

Identify an attribute that can be added to the input element to validate a text value against a regular expression.​

​pattern="regex"​

​In a fixed layout, the size of the page and the size of the page elements are fixed using _____ as the unit of measure.

​pixels

The _____ attribute must be added to the control to identify whether the data has been supplied to those fields that are opposed to the ones that are optional.​

​required

Identify the default type of the background-attachment property.

​scroll

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

​target

Data cells that do not function as headers for table rows or columns are marked using the _____ element.

​td

Adding all the three primary colors—red, green, and blue—at maximum intensity produces the color _____, while adding any two of the three primary colors at maximum intensity produces the trio of complementary colors—yellow, magenta, and cyan.​

​white

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. Ken can space the links equally across the browser window, to make the page text easier to read, by changing the _____.

​width


Kaugnay na mga set ng pag-aaral

RN Adult Medical Surgical Online Practice 2023 B

View Set

135 Linux-Pro Chapter 2 to 9 & 13

View Set

Chapter 2 :: Retirement Planning Accumulations & Distributions

View Set

Communicating effectively Chapter 12

View Set

Social and Behavioral Research - Belmont Report and It's Principles

View Set

Principles of Financial Accounting Chpt 8

View Set