Web Development - Final Exam Prep
Select the code below that configures a background image to repeat horizontally across a web page.
background-repeat: repeat-x;
Select the code below that uses CSS to configure a background color of #eaeaea for a web page.
body {background-color:#eaeaea;}
Select the code below that will configure a background image called parchment.gif for a web page using CSS.
body {background-image:url(parchment.gif); }
The CSS to create the class called myfloat that floats to the right of the other page content, has a 10px margin, and a solid border is:
.myfloat { float:right; margin:10px; border: 1px solid #000000; }
Select the code below that uses CSS to configure a class called "offer" with blue text that uses the Arial or sans-serif font typeface.
.offer { color:blue; font-family:Arial,sans-serif;}
Select the item below that does not belong in a consistent website design.
a different background color on each page
Use the ________ attribute to configure the width of a table border.
border
Use the ________ property to configure rounded corners with CSS.
border-radius
Select the type of form control that "disguises" the characters that are typed.
password
Use the _________ property along with the left, right and/or top property to precisely configure the position of an element.
position:absolute;
Select the example below that could be used to clear a right float.
clear: right;
The declaration property used to set the text color on a web page is:
color
The __________ pseudo-class configures the appearance of the hyperlink before it is clicked.
link
The ___________ attribute of the anchor tag can cause the new web page to open in its own browser window.
target
Select the code below that uses CSS to configure an id named "example" that configures small, italic text.
#example { font-size: small; font-style: italic; }
Set list-style-type to the value ________ to hide the display of the list markers on an ordered list.
none
Choose the example below of a descendant selector that configures the anchor tags within the element assigned to the an id named special.
#special a
Choose the special character that is used to indicate a blank space.
Choose the item that creates an image link to the school.htm page when the school.gif graphic is clicked.
<a href="school.html"><img src="school.gif" alt="school"></a>
Choose the tag pair that is used to link web page documents to each other.
<a> tag
Choose the tag pair configures text to be indented from both the left and right margins.
<blockquote>..</blockquote>
What tag is used to force the browser to display the next text or element on a new line?
<br>
Which of the following tags does not require a closing tag?
<br>
The purpose of the _________ element is to describe the contents of a table.
<caption>
How would you define a fragment identifier at the top of a page, called "top"?
<div id="top">
Choose the preferred tag pair to use when emphasizing text that is displayed in italic font style.
<em>..</em>
Which of the following tags should NOT be located in the head section?
<h1>
What tag pair is used to create the largest heading?
<h1></h1>
Select the form control from the choices below that may be used to submit a form.
<input type="submit">
The purpose of the ____________ is to configure a label for a <fieldset>.
<legend>
What tag pair contains the items in an ordered or unordered list?
<li></li>
Use the _________ tag to associate a web page with an external style sheet.
<link>
What tag pair is used to create a new paragraph?
<p></p>
Choose the HTML tag below that would configure a scrolling text box with the name "feedback", 3 rows, and 60 characters.
<textarea name="feedback" rows="3" cols="60"></textarea>
Use the _____ tag pair to begin and end a table row.
<tr> </tr>
Consider _______ when designing for display on a mobile device.
all of the above
The __________ is the area between the content and the border.
padding
When configuring the background color of an element, the background color is applied to both the content and ________ areas.
padding
The box model consists of a content area surrounded by:
padding, border, and margin
A type of graphic that is best-suited to photographs is:
jpg
Use the ________ attribute on a <td> element to associate it with a table heading cell.
headers
Select the most commonly used site organization for commercial web sites.
hierarchical
Select the three most common methods of organizing websites.
hierarchical, linear, and random
The _________ pseudo-class configures the styles that will apply when the mouse is on a hyperlink.
hover
Select the value of the type attribute that configures an HTML5 spinner control.
number
The CSS3 __________ property configures the transparency of an element.
opacity
What type of HTML list will automatically place a number in front of the items?
ordered list
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?
:nth-of-type(n)
Which of the following configures a margin for an element with the following values: top margin 30 pixels, left margin 150 pixels, right margin 0 pixels, and bottom margin 0 pixels?
margin:30px 0 0 150px;
Use the _________ property in the HTML link tag to associate a web page with a style sheet for printing.
media="print"
When configuring a group of radio button form controls, the value of the ________ attribute on each radio button must be the same
name
The purpose of the ____________ element is used to configure the main navigation area on a web page.
nav
Choose the example below of a descendent selector that configures the anchor tags with the nav element.
nav a
The ________________ property configures a shadow effect on the text displayed within an element.
text-shadow
Use an id to configure a style when:
the style will apply to only one element on a page.
Select the best reason to include height and width attributes on an <img> tag.
to help the browser render the page faster because it reserves the appropriate space for the image
Which of the following attributes would configure an ordered list to display uppercase letters?
type="A"
What type of HTML list will automatically place a bullet point indicator in front of each item?
unordered list
A domain name is a unique text-based Internet address corresponding to a unique _____________.
IP address
Select the true statement from the list below.
None of the statements above are true
Select the main reason for the initial development of the World Wide Web from the list below:
To allow communication between researchers and links between research papers
Select a recommendation for mobile web design from the choices listed below.
Use a single column page layout
A network that is geographically dispersed and may use some form of public or commercial communications network is called a(n):
WAN
To associate an external style sheet with a web page, code:
a link element in the head section of the web page
Select the HTML tag below that configures a button that, when clicked, will automatically reset form fields to their default values.
both a and b
You would like to conduct a survey and ask your web page visitors to indicate the computer operating systems that they use. Each visitor could use more than one computer operating system. Select the form control that is best to use for this purpose.
check box
To apply a style to one or more elements on a web page, configure a CSS _______________.
class
An external style sheet uses the _________ file extension.
css
What type of HTML list would be good to use to display a list of terms and their definitions?
description list
Use ________ positioning to configure the location of an element to remain the same and to not move even when the web page is scrolled within the browser viewport.
fixed
If an element is configured with ___________ the other content on the page will appear to its left.
float:right;
A page layout technique that often uses a percentage value for width is called ____________
fluid
Components of responsive web design include:
fluid layout, flexible images, media queries
Which CSS property configures the font type?
font-family
Which CSS property configures the size of text?
font-size
Which CSS property can be used to configure italic text?
font-style
A type of graphic that can be made transparent and is commonly used on the Web is:
gif
Use the _____________ property to configure an image to use as a bullet point in an unordered list.
list-style-image
An order form contains an area for web visitors to select their state or province. You need to limit the amount of space on the form that is used for this feature. Select the form control that is best to use for this purpose.
select list
Select the form control below that does not use the <input> tag.
select list