CSCI 102
What character indicates an end tag?
/
How do you insert a comment in a CSS file?
/*this is a comment*/
What pseudo-element can be used to generate content that precedes an element?
:before
What CSS pseudo-class applies to the first element of a specified type?
:first-of-type
What is the correct HTML for creating a hyperlink?
<a href="http://www.wwu.edu">Western Washington University</a>
What is the correct HTML element to define emphasized text?
<em>
What is the correct HTML element for the largest heading?
<h1>
What tag is used to create a horizontal line on a web page?
<hr>
How do you code a tag that associates a favorite icon named favicon.png with a web page document?
<link rel="icon" type="image/png" href="favicon.png">
What HTML tag is used to define an internal style sheet?
<style>
What HTML tag would configure a scrolling text box with the name "comments", 2 rows and 30 characters?
<textarea name="comments" rows="2" cols="30"></textarea>
What HTML tag pair is used to specify table headings?
<th></th>
What would a consistent website design not have?
A different background color on each page
What does HTML stand for?
Hyper Text Markup Language
What is a network that covers a small area, such as a group of buildings or campus?
LAN
What is not a recommended method to obtain graphics for your website?
Right click and copy a graphic you like from any website
Who makes the Web standards?
The World Wide Web Consortium
What should you do when creating text hyperlinks?
Use a key phrase as a hyperlink
Which organization takes a proactive role in developing recommendations and prototype technologies related to the Web?
World Wide Web Consortium (W3C)
You would like to conduct a survey and ask your visitors to indicate the web browsers that they use. Which of the following form controls is best to use for this purpose?
check box
What causes an element to display as a block of content with white space above and below?
display: block;
What is the term used to describe a square icon that is associated with a web page and is displayed in the browser address bar or tab?
favicon
What HTML5 element configures a web page heading area?
header
What are the three most common methods for organizing websites?
hierarchical, linear and random
What pseudo-class can be used to modify the display of a hyperlink when a mouse pointer passes over it?
hover
What is an image that is configured so that parts of the image can be used as one or more hyperlinks?
image map
What is an example of using a descendant selector to configure the anchor tags within the nav element?
nav a
What is the intended use of tables on web pages?
organizing information
What CSS property specifies the distance between the cell text and the cell border?
padding
The box model consists of a content area surrounded by what elements?
padding, border and margin
What HTML attribute is used to define inline styles?
style
What attribute can be applied to an anchor tag to open a link in a new browser window?
target
What form controls would be appropriate for an area that your visitors can use to type in their e-mail address?
text box
How do you select elements with ID name "test"?
#test
What properties can be used to clear a float?
Clear or overflow
What is a mobile web design best practice?
Configure a single-column page layout
What meta tag is used to configure display for mobile devices?
Viewport
What font units is recommended for mobile displays?
em unit
What is an image file that contains multiple small graphics?
sprite
What property configures a shadow effect on the text displayed within an element?
text-shadow
What is the HTML for referring to an external style sheet?
<link rel="stylesheet" type="text/css" href="style.css">
How do you display hyperlinks without an underline?
a {text-decoration: none;}
What CSS property specifies the background color of a table?
background-color
What property is used to change the background color?
background-color
What CSS property is used to change the text color of an element?
color
What configures a class called side to float to the left?
.side {float: left;}
How do you select elements with class name "test"?
.test
How would you link to the named fragment #jobs on the page employ.html from the home page of the site?
<a href="employ.html#jobs">Jobs</a>
What item creates an image link to the school.html page when the school.gif graphic is clicked?
<a href="school.html"><img src="school.gif" alt="school"></a>
How do you make a numbered list?
<ol>
What attribute of the form element is used to specify the name and location of the script that will process the form field values?
action
How do you code a background image called parchment.gif to be configured as a background image for a web page using CSS?
body {background-image: url(parchment.gif);}
What is the correct CSS syntax to change the body's text color?
body {color: black;}
What property configures rounded corners with CSS?
border-radius
The top-level domain name for the URL http://www.mozilla.com
com
What CSS property controls the text size?
font-size
Forms contain various types of ________, such as text boxes and buttons, which accept information from a web page visitor.
form controls
How do you add a background color for all <h1> elements?
h1 {background-color: #FFFFFF;}
What is the attribute that defines a fragment identifier on a page?
id
What is the attribute used to indicate whether the style sheet is for printing or screen display?
media
What is a container element used to configure responsive images?
picture