IST 226 Final Exam Review
font-family
When using the ____ property, it's common practice to provide a list of the fonts you prefer to be used to display the text, followed by a generic font.
both a and c fieldset legend
Which element is used to organize form controls?
none a. groove c. solid d. inset
Which of the following border style's value is the default?
reset button
Which of the following buttons is used to clear or reset the form fields?
the text-align property
Which of the following can be used to center an image horizontally?
all of the above margins padding border
Which of the following can the table element have?
font-style
Which of the following comes first in the correct order for the font properties in the font shorthand property?
padding: 4px;
Which of the following creates some white space between cell contents?
font-family: Lucida Calligraphy;
Which of the following declarations is invalid?---
Internet Explorer 9
Which of the following does NOT recognize the placeholder attribute?
both a and b paragraph heading
Which of the following elements are block-level elements?
none of the above cell addresses extensive math features charting features
Which of the following exists for HTML tables?
double-dashed
Which of the following is NOT a border's style value?
picas
Which of the following is NOT a measurement unit for the values of padding and margin properties?
By default it creates a 2px border around grouped form controls.
Which of the following is NOT correct for the fieldset element?
div
Which of the following is a block-level container that does not have any formatting associated with it but is used with an ID or class to apply CSS styles?
drop-down list box
Which of the following is a form control that allows a user to click a list arrow to display the list and make a selection?
By file upload
Which of the following is a method for validating on the W3C CSS validation page?
relative
Which of the following is a positioning type?
list-style
Which of the following is a shorthand property for the list?
XHTML
Which of the following is a variant of HTML?
em
Which of the following is an example of a relative value of the font-size property?
triangle
Which of the following is an invalid value for the list-style-type property?
get
Which of the following is the default value for the method attribute?
percentages
Which of the following is the most commonly used for describing the position of the background image with the background-position property?
both a and c It should be placed below the label element code. It is an empty element.
Which of the following is true for the input element?
Page height is smaller than its width.
Which of the following options describes the landscape page orientation?
left
Which of the following positioning values is used most often?
visited
Which of the following pseudo-classes is NOT supported by some Web browsers?
images
Which of the following should have a display property assigned the value of none when creating a print style?
embedded
Which of the following styles has the third highest precedence?
both a and c have the same precedence a. table data element c. table header element
Which of the following table styles has the highest precedence?
table element
Which of the following table styles has the lowest precedence?
<caption>
Which of the following tags is optional in table design?
layout tables
Which of the following uses legacy code?
placeholder
Which of the following values is useful for providing instructions to users so they are not left wondering what they should type or select?
parent container width
Which of the following widths is the largest?
list-style-image
Which property allows the use of an image as a bullet for unordered lists?
the style that is lower in the styles list
Which style takes precedence if a Web page author mistakenly styles the same element more than once in the same embedded style sheet?
middle
Which value should you use to vertically center an image with the text?
src
With the <img /> tag, the ____ property must contain the name of the image file to be rendered, along with the folder where it is located if it is not in the same folder as the HTML file.
dependent on
You can make an ID selector ____ an element.
Ctrl+R
You can press ____ to refresh content in Internet Explorer and Firefox.
Shift+click
You can select more than one adjacent option from the drop-down list by using ____.
max-width
You can set the ____ property to the limit at which you want users to maximize the screen.
max-width
You can use the ____ property to limit how large a layout could appear.
space
You should separate each value of the border-bottom property with a ____.
Hypertext
____ is a technology that allows you to click a link that points to a file.
Em
____ values are not displayed correctly for border widths.
False
A Web page that looks fine on a tablet is likely to be equally readable on a smartphone.
template
A ____ is an HTML document that contains the code for the elements that are the same on every Web page.
descendant
A ____ selector is a selector nested within another selector.
within the <body></body> tags
A form's start and end tags must be placed ____.
16
A hexadecimal value is a base ____ value.
relative
A liquid layout provides consistency in ____ widths.
1/72
A point is the measurement of the font size and it is equal to ____ of one inch.
a selector, a property, and a value
A rule for CSS is the combination of ____.
A style designed to create output for printed copy is called ____ style.
reset
A(n) ____ CSS style sheet specifically helps developers start with a clean slate.
empty
A(n) ____ cell is a cell without any content.
border
A(n) ____ is a visible solid or decorative ruled line that can be placed around the padding.
caption
A(n) ____ provides a brief description of a table.
field
A(n) ____ represents a single kind of data in the database.
class
A(n) ____ selector can modify the appearance of any HTML element in a virtually unlimited number of ways.
class
A(n) ____ selector is a name preceded by a period.
Reader
Adobe ____ is commonly installed on most computers.
W3C
All of the following are standards EXCEPT ____.
center
All of the following are values for the clear property EXCEPT ____.
text-bottom
Among the vertical-align property values, the ____ value aligns the bottom of the element with the bottom of the parent element's font.
bottom
Among the vertical-align property values, the ____ value aligns the bottom of the element with the lowest element on the line.
text-top
Among the vertical-align property values, the ____ value aligns the top of the element with the top of the parent element's font.
line-height
Among the vertical-align property values, the percent% value raises or lowers an element by a percent of the ____ property.
anchor
An element that is used for creating links is called a(n) ____.
all of the above a. an image b. text c. a table
An example of content is ____.
1
Avoid using the number ____ in a filename.
white
Blank lines and indenting are examples of ____ space.
percentage
Borders can present a problem for liquid layouts because browsers do not recognize ____ values for border widths.
pixel
Browsers convert percentage widths to ____ values, so some rounding of those values is bound to occur as a result.
3 or 4
Browsers display the thicknesses of keyword values slightly differently. But in general, a medium border is ____ pixel(s) wide.
blue
By default, links are underlined and ____.
centered and placed above the table
By default, the caption text is ____.
design styles for aural devices
CSS1 enabled users to do all of the following EXCEPT ____.
element selectors
Calculating the specificity using weighting methodology, which of the following selectors have the lowest weight?
dependent or independent
Classes can be either ____.
both b and c educational research
During the 1970s and 1980s, the primary users of the Internet were ____ institutions.
slash
End tags are differentiated from start tags by including a(n) ____ at the beginning of the end tag.
break
Ending a line with the ____ element creates the same effect as when you press the Enter key when composing a document with a word-processing application.
<form></form>
Every form's code is placed within ____ tags.
2
For critical components and functionality, you should always test HTML and CSS in Web browsers that are at least ____ year(s) old.
special characters such as the ampersand
For id values, avoid using ____.
thumbnails
For users without high-speed connections, larger images can take a long time to download if ____ are not used.
extension
Given the filename resume.doc, the ____ is doc.
Hypertext Transfer Protocol
HTTP is an acronym for ____.
#
Having used the id attribute to identify the content of a section element, be sure to include the ____ character to the left of the reference to that section id.
16
How many color names are standard in CSS2?
5
How many generic fonts are used in Web page design?
independent
If a class is ____, it can be applied to any element.
attachment
If a shorthand background property is used and all background properties are to be changed, which value should be listed last?
Sidebar div has a width of 150 pixels and main column has a width of 760 pixels.
If the width in the container div is set to 900 pixels, which of the following breaks the layout?
top-left
If there is a logo on a Web page, a standard convention is to place it in the ____ and make it a link that points to the Web site's home page.
the first value is applied to the top and bottom sides equally, and the second value is applied to the left and right sides equally
If two values are listed for the padding property, ____.
1
If you create a style for the table element and use the border property with a pixel value of ____, for example, you'll see the table borders in the browser.
a
In HTML code, the anchor element is represented by the letter ____.
F5
In Internet Explorer, you can press the ____ key to refresh a page.
horizontal scroll bars
In a fixed-width layout, smaller screen resolutions may display ____ depending on the width of the Web page content.
resolution
In a fixed-width layout, the content looks identical regardless of the ____ of the monitor.
spaces
In a shorthand property, property values are separated by ____.
em
In an elastic layout, the column widths are determined using ____ values.
letters do not have finishing strokes
In sans-serif generic fonts, ____.
purple
In some browsers, by default, a text link changes its color to ____ after the link has been clicked.
rendering
Interpreting a file that contains HTML and CSS and then displaying the resulting Web page is called ____.
universal
It is a good coding practice to zero-out any margins and padding using the ____ selector.
padding
It is common practice to give cells ____ if they contain text.
any of the above another page within the same Web site a page within another Web site a named section on the same page
It is possible to establish a link to ____.
nav
Like the footer element, ____ is a semantic element that does not apply formatting or serve any other functional purpose.
blue and underlined
Linked text is by default ____.
bookmark
Links to sections are known as ____ links.
list-style-format
Lists can be enhanced using all of the following properties EXCEPT ____.
1024
Most computer monitors sold today have a horizontal resolution greater than ____ pixels.
Internet Explorer
Older versions of ____ always displayed a vertical scroll bar.
Enter
On a Mac, the ____ key is also the Return key.
desktop computers
On which of the following do most people NOT maximize the Web browser to the full screen size?
By direct input
One method for validating a document that has not been posted to a Web server is called ____.
Portable Document Format
PDF is an acronym for ____.
empty
Single tags are also called ____ tags.
box
Some ____ properties used with the img element include height and width.
precedence
Style ____ determines which styles have priority when multiple styles conflict.
borders
Table ____ are horizontal and vertical lines that surround the table.
angle brackets
Tags are codes encapsulated in ____.
font
The CSS property ____ is an example of a shorthand property.
passes the mouse pointer over the link
The ScreenTip appears when a visitor to the Web page ____.
DOCTYPE
The ___ tag instructs validators to compare the code in the document to the HTML5 rules.
placeholder
The ____ attribute allows you to display a sample email address in an input box.
for
The ____ attribute associates the label with the id value in the input element.
type
The ____ attribute determines the specific kind of form object that is created.
value
The ____ attribute determines what text appears on the button in the browser.
label
The ____ attribute serves as the heading for the option group.
top-left
The ____ corner of an image map has coordinates (0,0).
span
The ____ element allows you to mark inline content.
map
The ____ element contains all the code in an image map.
aside
The ____ element is an HTML element that marks content that is not the main content but is extra, or tangential content.
link
The ____ element is used to connect the external style sheet to a Web page.
nav
The ____ element is used to contain a block of navigation links.
label
The ____ element is used to display prompting text on the screen.
curly brackets
The ____ mark the beginning and end of the group of properties and values for each selector.
size
The ____ property determines the size of the page within an @page rule.
float
The ____ property is used to position boxes on the page and to wrap content around the box.
border-spacing
The ____ property specifies the distance between the borders of adjacent cells.
</li>
The ____ tag ends a list item.
<option></option>
The ____ tags are used to identify each choice in a drop-down list.
top
The ____ value is the default value for the caption-side property.
margin-left
The ____ value measures from the left side of the browser window.
top
The ____ value of the vertical-align property positions the text at the top of the cell.
Internet Explorer
The alt attribute displays a ScreenTip in ____.
place a background image within an element
The background-position property allows you to ____.
up
The bottom property with a positive value moves the element ____.
<legend></legend>
The caption text for the fieldset is entered between the ____ tags.
yellow
The color ____ can be produced by blending the maximum intensity of red and green.
#FFFFFF
The color white's hex code can be represented as ____.
at the top of the browser window
The content between the <title> tags appears ____.
outside
The default value for the list-style-position property is ____.
Arabic numbers
The default value for the list-style-type property for ordered lists is ____.
disc
The default value for the list-style-type property for unordered lists is ____.
2
The default value for the text area height is ____ rows.
baseline
The default value for the vertical-align property is ____.
separate
The default value of the border-collapse property is ____.
table header
The first row in the table that describes the contents of the rows below can be formatted using the ____ element.
make the text three times larger than the browser's default font size
The font-size property value of 3 em will ____.
normal
The font-style property removes underlining using the value ____.
liquid and fixed-width
The hybrid layout is a combination of ____ layouts.
#
The identifier value for the usemap attribute begins with the ____ symbol.
<option></option>
The option text in a selection list should be placed between the ____ tags.
source order
The order of the content in the document flow is defined by ____.
percentages
The padding values for a liquid layout should be expressed in ____.
@
The page rule code starts with the ____ character.
body
The parent container for all elements in a document is ____.
W3C
The standards for HTML are set by the ____.
two to four
The suffix is a(n) ____-letter abbreviation that groups domain names based on their category.
above the normal position
The top property with a negative value positions an element ____.
starts with an asterisk
The universal selector ____.
title
The use of the ____ attribute is common for accessibility reasons, as its value is read aloud by screen readers.
the table's parent container
The value for the width property in the table style can be a percentage based on ____.
any of the above spaces special characters numbers
The value of a text box can include ____.
url
The value of the background-image property begins with ____.
any of the above in ems as a percentage in pixels
The value of the text-indent property can be expressed ____..
inset
The value to place a shadow inside an element is ____.
parent container width
The width that defines the size of the containing box is called ____.
render
To ____ an image, a Web browser must know the name of the image file.
no-repeat
To display a background image once, the value of the background-repeat property should be set to ____.
independent
To format columns, you can create a(n) ____ class and then apply the class to the <col /> tag to format the columns you want.
title
To help keep your table accessible, include only the ______ attribute in the start <table> tag.
@import
To import rules from one style sheet into another one, the ____ rule needs to be used.
Shift
To insert the pipe character from the keyboard, hold down the ____ key and press the key directly above the Enter key and below the Backspace key.
script
To link a Web page to a JavaScript file, you add the ____ element.
<em>Nyce Paints</em>
To make a company name italic, you code the text as follows: ____.
colspan
To merge cells across columns, the ____ attribute is used.
either a or c a. inside c. outside
Unordered lists can have bullets ____ the element.
internal
Use a(n) ____ style sheet for styles that apply only to a specific Web page.
external
Using ____ CSS style sheets, the overall presentation of a Web site can be designed separately while the content is still being developed.
applying
Using the class in the body section is called ____ a class.
font-size
Using the font shorthand property, values must be specified for the ____ property.
checks to see if the code complies with the standard identified in the DOCTYPE tag
Validating a file does which of the following?
Adobe Dreamweaver
Web development tools include programs such as ____.
both a and c semicolon at the end & at the beginning
What is common to both named and numeric character references?
Create an external style sheet.
What is the best way to create the print style?
points
What is the default unit of measurement for printers?
It takes much longer to download them.
What is the main reason to not use bitmap files as Windows graphics?
There is no limit.
What is the upper limit for the number of HTML files that can link to the same external style sheet file?
all
What is the value of the media attribute when you want to apply a print style to all devices?
stylesheet
What is the value of the rel attribute when creating a link to the external style sheet?
submit
What is the value of the type attribute for the input element that creates a command button that sends form data to the server?
text/css
What is the value of the type attribute when creating a link to the external style sheet?
The semicolon at the end of the statement is missing.
What is wrong with the code @import url(header.css)?
both a and b a. This is the style for an unordered list, and the selector should be changed to ul. b. The value of a square cannot be used for ordered lists.
What is wrong with the following style? ol { list-style-type: square; }
referring
When a link leads to another page, the page where the link is included is called the ____ page.
absolute
When an element is displayed in the exact specified position, ____ positioning is used.
name
When coding the text area, a(n) ____ attribute identifies the field in the database associated with this form control.
sidebars
When creating a design with a fluid layout, you must be wary of all of the following kinds of objects EXCEPT ____.
inches
When defining the size of the page, ____ are used as unit measurements.
top, right, bottom, left
When four values are given for margins, they are applied to each side in the following order: ____.
semicolon
When troubleshooting style sheet errors, you should check the end of every style property to ensure that there is a(n) ____ in place.
fluid
When using ____ layout, you do not have to guess about the width of the users' viewports.
middle
border-spacing The default value of the vertical-align property positions the text at the ____ of the cell.