HTML5 and CSS3 Final Exam
a type of link that specifies the full and complete address for the target document on the Web.
Absolute link:
takes an element out of the page flow entirely and allows other elements to flow into the space it would have occupied.
Absolute positioning:
methods
Actions that can be performed on DOM nodes are known as ______
a set of instructions used by search engines to decide the priority of search results
Algorithm:
allows graphics creators to specify the level of opacity for areas of a graphic.
Alpha channel:
code in which the result of a comparison in values determines which one of multiple options is executed by a script
Conditional statement:
a file in which video and/or audio is packed for distribution
Container:
a way of envisioning the a hierarchical arrangement of the content of an HTML document as a tree-like structure
DOM tree:
a standardized system for referring to the parts of a Web page
DOM:
a list that enables you to specify a name-value pair for each list item.
Description list:
ensuring that the appearance and usability of a Web site doesn't depend on any advanced features.
Graceful degradation:
codecs
H.264, Theora, and VP8 are examples of popular _____ on the Web today.
the syntax used in JavaScript for identifying a specific item within the DOM by listing the appropriate objects, properties, and methods in order, separated by periods.
Dot notation:
a common visual effect in print media in which the first letter of a paragraph or section is enlarged.
Drop cap:
name
Each input element in a set of option buttons must include the ____ attribute with a value identical to all other members of the set.
a property
Each piece of information associated with a DOM node is known as ______
the process of transforming a moving image and/or sound into a digital file.
Encoding:
a user action that can be used to start the execution of JavaScript code
Event:
a form element in which users enter or select data.
Field:
a group of fields that form a logical unit.
Fieldset:
a layout that specifies a fixed width for the content of a Web page.
Fixed layout:
a layout with the flexibility to adjust its width based on the width of a user's browser window.
Fluid layout:
descriptive text associated with a form element.
Label:
a new level of content displayed on top of the basic flow of elements on the Web page.
Layer:
a descriptive title for a fieldset.
Legend:
a part of the HTML5 specification for adding more types of semantic data to Web page content
Microdata:
a layout involving columns of text and graphics running parallel to each other down the page.
Multicolumn layout:
another term for the original dimensions of a bitmap image.
Native:
a set of links for moving between Web pages in a Web site.
Nav bar:
placeholder
Newer browsers display the value of the ______ attribute as a light-colored text in the associated text box and remove it when a user selects the box in preparation for text entry.
the representation of a single part of an HTML document such as an element, attribute, or text content in the DOM
Node:
Generic font family:
a grouping of font families according to shared characteristics.
Style rule:
a line or block of CSS code that specifies the presentation of Web page elements.
Font stack:
a list of font families in order of preference, separated by commas.
Mozilla
The browser prefix -moz targets which rendering engine?
Embedded style sheet:
a section of CSS code entered in the head element of an HTML document.
Name-value pair:
a section of CSS code that specifies a CSS property to apply to the selector(s) and the value to assign to the property.
Id selector:
a selector that applies the specified name-value pairs only to the elements with the specified id.
Class selector:
a selector that creates a style rule based on values assigned to elements using the HTML class attribute.
External style sheet:
a separate file containing style information that multiple Web pages can link to.
Character reference:
a specially formatted string of characters that represents a character in the HTML document character set.
RGB system:
a system for specifying color on a Web page in which you provide red, green, and blue values represented as one-, two- or three-digit numbers.
Hexadecimal system:
a system for specifying color on a Web page in which you provide red, green, and blue values represented with numbers 0 - 9 and letters a - f.
a standardized data type that describes a container format
Type:
a standard format for specifying how and where to access a resource on the Internet.
Uniform resource identifier(URI):
a list in which the order of list items doesn't matter.
Unordered list:
a set of definitions of keyword values for specific types of information
Vocabulary:
http
Web servers make documents available using which protocol?
a person in charge of a Web site
Webmaster:
An anchor
What does the value"#section3" for the href attribute target?
target
When creating a link, the Web page or other document you link to is known as the ______
In place of a few special characters that run the risk of being misinterpreted by user agents as computer instructions.
When is it important to use a character reference to add a character to a Web page?
An absolute link
When you enter a URI, which of the following are you creating?
alt
Which attribute do you use to specify text to display in case an image is unavailable or to be read in user agents by programs such as screen readers?
poster
Which attribute lets you specify a fallback image for the video element?
media
Which attribute of the link element lets you specify the intended use of an external style sheet?
itemscope
Which attribute signifies that a specified microdata vocabulary applies to all descendent elements of the element in which it is declared?
Box model
Which does CSS use to represent the characteristics of every Web page element?
Select
Which element do you use to create a drop-down menu?
ol
Which element do you use to create a list in which items are numbered or lettered sequentially?
dl
Which element do you use to create a list that enables you to specify a name-value pair for each list item?
ul
Which element do you use to create a list that is usually displayed with bullet characters?
Object
Which element do you use to provide video for older browsers?
Legend
Which element is used to explain the purpose of other form elements?
td
Which element marks the content of a table body cell?
th
Which element marks the content of a table header cell?
dd
Which element marks the description of an item in a description list?
tbody
Which element marks the rows that make up the body section of a table?
thead
Which element marks the rows that make up the head section of a table?
dt
Which element marks the term being described in a description list?
JPEG
Which image type is best for photographs?
Selection.
Which is a CSS3 pseudo-element?
a pseudo-element.
Which is an example of a shim or patch?
Embedded style sheet.
Which is the most straightforward solution for affecting the presentation of single Web page?
GIF
Which is the most widely supported format for images with limited colors and defined borders between areas?
background
Which item changes the color of an element's background?
color
Which item changes the color of an element's text?
Font-size
Which item changes the size of an element's text?
<p id="skipnav">
Which item creates a skip link?
<audio></audio>
Which item embeds audio for HTML5-compatible browsers?
<video></video>
Which item embeds video for HTML5 compatible browsers?
Text-align
Which item is a CSS property?
<a href="index.html">
Which item is a relative link?
<nav>
Which item is a semantic element for navigational content?
http://www.example.com/location
Which item is an absolute link?
<p id="main">
Which item is an anchor?
/*
Which item is ignored by a user agent?
<a href=></a>
Which item is the code for a nav bar?
Center;
Which item is the value assigned to a CSS property?
@font-face
Which item lets user agents know where to find a downloadable font?
<a href="#main">
Which item links to an anchor?
font-weight
Which item makes text bold?
font-style
Which item makes the text italic?
<object></object>
Which item specifies a fallback Flash file for browsers that don't recognize HTML5 elements?
<img src="images/bfly.png">
Which item specifies a fallback image for browsers that don't recognize HTML5 elements?
poster="images/bfly.png"
Which item specifies a fallback image for browsers that don't recognize the video element?
Font-family
Which item specifies a font family to apply to an element's text?
<param name="wmode" value="opaque" />
Which item specifies a parameter for Flash Player?
Border-width, border-style etc.
Which item specifies a set of presentation rules?
controls="controls"
Which item specifies that browsers should display controls for interacting with the related element?
visibility: hidden
Which name-value pair makes the contents of an element no longer visible on the Web page but leaves the element in the page flow?
position: absolute
Which name-value pair takes an element out of the page flow entirely and allows other elements to flow into the space it would have occupied?
External style sheet.
Which of the following enables you to modify the presentation of multiple Web pages with a single change?
A plugin
Which of the following is Flash Player an example of?
.ideas
Which of the following is a class selector?
AAC
Which of the following is a codec used to encode audio?
VP8
Which of the following is a codec used to encode video?
WebM
Which of the following is a container format?
microdata
Which of the following is a working draft of the W3C?
0.5
Which of the values the rgba set (255,100,178,0.5) represents opacity?
A comparison operator
Which operator type allows you to compare values of different elements?
A logical operator
Which operator type allows you to logically connect multiple values in a comparison?
Selector
Which part of a style rule identifies the HTML element or elements to which the style applies?
float
Which property enables text or other Web page elements to flow around an element?
z-index
Which property enables you to change the stacking order of layers?
background
Which property is NOT useful in creating a multicolumn layout?
clear
Which property prevents floated elements from being displayed to the left, right, or on both sides of an element?
Focus
Which pseudo-class applies to an element that a user has selected?
A:hover
Which pseudo-class is active when a user's mouse pointer is over the affected link?
Before
Which pseudo-element enables you to insert content into Web pages using style rules?
h1
Which selector is based on the name of an HTML element?
.
Which selector is based on the value of an HTML class attribute?
#
Which selector is based on the value of an HTML id attribute?
URI
Which type of Web reference contains a scheme, a server name, and a path?
Vector
Which type of image encodes the appearance of a graphic as geometric shapes?
Bitmap
Which type of image is represented as a grid of dots and their colors?
Type selector:
the most general type of selector, which is the name of an HTML element.
Inline element:
a fine-grained element, such as a word or phrase within a paragraph.
*/
A CSS comment ends with which of the following?
;
A name-value pair ends with which of the following?
}
A style rule ends with which of the following?
</style>
An embedded style sheet ends with which of the following?
a named location within a document.
Anchor:
the bottom of a line of text.
Baseline:
Relative
Because Web pages on a small Web site almost always share the same folder on a Web server, it's most efficient to create which type of links when creating a nav bar?
a program used by a search engine to index web pages
Bot:
robots.txt
By convention, what is the name of the file that bots look for in the root directory of a Web site for instructions on any files or folders to exclude form indexing?
a table component that displays a single item of data.
Cell:
a box that users can click to add or remove a check mark.
Check box:
a specific encoding method; short for coder/decoder
Codec:
a group of table contents arranged vertically.
Column:
border-radius
If you were using the -moz-border-radius property in a style rule, which additional property should you include as the last property in the code for that feature?
an object
In the DOM, each HTML element is considered ________
a box for selecting one option from a set of choices.
Option button:
a list in which items are numbered or lettered sequentially.
Ordered list:
one of the dots that make up a bitmap image.
Pixel:
a program that can both unpack a video or audio container and decode the video and audio streams
Plugin:
adding additional features to a Web page as enhancements only for browsers that can render them.
Progressive enhancement:
a categorization of a Web page element based on a relationship or condition of the element at a given moment.
Pseudo-class:
a selector that enables you to isolate a piece of a larger element for styling.
Pseudo-element:
a link that gives only the path and filename information necessary to locate the target document based on the location of the current Web page.
Relative link:
lets you make adjustments to the default position of an element while preserving the space allotted to the element in the default page flow.
Relative positioning:
specifies how close the dots in a bitmap should appear on the output.
Resolution:
a group of table contents arranged horizontally.
Row:
generic font family.
San-serif is an example of a(n)
the process of tailoring the structure and content of a Web page with search engines in mind
Search engine optimization (SEO):
a script written specifically to bridge the gap between browsers with reduced feature sets and more fully featured browsers.
Shim:
a link that targets an anchor at the start of the main page content and allows users to bypass navigation.
Skip link:
graceful degradation.
Specifying a fallback color for a background image is an example of ________
an encoded set of video or audio data
Stream:
a button that users can click to submit the data they've entered.
Submit button:
a field that allows users to enter multiple lines of text.
Text area:
a single-line text field.
Text box:
span
The ____ element is a generic element that allows you to isolate a specific section of a larger element.
description
To create a meta element that provides site summary text, what value do you specify for the name attribute?
-ie
To support users of older versions of Internet Explorer, you should precede non-CSS3 pseudo-elements with
an event handler
You can indicate code to execute in response to a specific event on a specific element by using __________
a variable.
You can store the results of JavaScript commands by creating _______
id
You create anchors by assigning unique names to elements in your Web page using which attribute?
font-weight
You format Web page text as bold using the CSS ________ property.
font-style
You format Web page text as italic using the CSS ________ property.
font-family
You specify the font family for the text of an element using the CSS ________ property.
font-size
You specify the size of Web page text using the CSS ________ property.
Block-level element:
one of the larger chunks that structures a Web page, such as a heading or a paragraph.