Web Design
Which of the following is not a valid class or id name?
$content
What file extension will tell you at a glance that the given file is most likely a Cascading Stylesheet document?
.css
Which part of the following URL is its TLD? http://www.csci1710.net/csci1710/labs/lab1/lab1.html
.net
How do you insert a comment in a CSS file?
/* this is a comment */
What is the proper tag to use under the new HTML5 standard to make text display as bold?
<strong></strong>
Which HTML tag is used to define an internal or embedded style sheet?
<style>
Which element, by default, causes text in a cell to display bold and centered?
<th>
Provided there are no other styles overriding this one, the following rule will do what? p {color:red}
Cause the text in all paragraph elements on the page to display red
CSS uses the Box Model when calculating the box properties. In the picture below, what does 'A' represent?
Content
What are the two primary elements users base their judgement of a site upon?
Content and usability
What is the name of the system that maps human readable addresses to their computer-friendly numeric equivalents?
Domain Name System
Browsers remove extra spaces when displaying an HTML file.
True
In the HTML5 language, it is possible to nest one or more lists within another list.
True
div elements are:
Used to 'chunk' elements of related content block level elements container elements
What are the primary concerns associated with accessibility of a web site?
Visual impairment Motor impairment
A paragraph element is
a block level container element
Every well designed web site has a set of targeted site users and
a well defined mission.
How do you display hyperlinks without an underline?
a {text-decoration:none;}
What attribute do we add to a <td> tag to make cells span horizontally?
colspan="n"
How can you make a numbered list?
<ol>
What should appear on the first line of an HTML document?
The doctype declaration
Element 'A' is displayed stacked above element 'B' on a web page. Element A's property/values include 'margin: 20px 15px;' while element B's property/values include 'margin: 15px;' Given this information, how much space will appear in the display between the bottom of element A and the top of element B?
20
Approximately what percentage of Americans have some disability?
20%
Which doctype is correct for HTML5?
<!DOCTYPE html>
The last on, first off method applies to nested tags. Given the following code snippet, what should the next tag be (fill in the blank)? <p><strong><em>Hello World!___
</p>
What is the correct HTML for creating a hyperlink?
<a href="http://www.w3schools.com">W3Cshools</a>
If you are writing a HTML document and wish to include a long quotation, which should be indented left and right, which HMTL5 tag would you use?
<blockquote>...</blockquote>
What is the name of the HTML5 semantic element that typically appears at the end of a document or section?
<footer>
Which HTML5 element is used to specify a header for a document or section?
<header>
Which standalone tag below will cause the browser to draw a line parallel to the bottom of the display?
<hr>
What is the correct HTML for inserting an image?
<img src="image.gif" alt="MyImage">
What is the correct HTML for making a text input field?
<input type="text">
Items in a list are enclosed in which of the following container tags?
<li>...</li>
Using the directory/file structure above, what is the correct code to link the file style.css to the file index.html?
<link rel="stylesheet" href="css/style.css">
What is the correct HTML for referring to an external style sheet?
<link rel="stylesheet" href="mystyle.css">
Which HTML5 element defines navigation links?
<nav>
CSS can be applied to a web page in any of three ways: Embedded, inline, and
External
A CSS ID can be reused multiple times on a given web page.
False
A site mission statement is usually identical to an organization's mission statement.
False
Designers determine site requirements.
False
The following code snippet contains no errors: <ul> <li><a href="index.html>HOME</a></li> <li><a href="about.html">ABOUT</a></li> <li><a href="pics.html">PICTURES</a></li> <li><a href="contact.html">CONTACT</a><li> </ul>
False
When conducting a website test, it is important that the test subject understands that you are testing their abilities as well as the website.
False
What describes the notion that the whole is perceived to be more than the sum of its parts?
Gestalt
What color would be represented by the following hexadecimal value? #00FF00;
Green
What is the Internet equivalent of a telephone number?
IP address
The following is an example of which type of CSS? <h1 style="color:red">
Inline
How would you characterize the following element? <em>...</em>
Inline container
How would you characterize the following element? <img src="image.jpg" alt="Image">
Inline standalone
Which one of the following is one of the principles of Gestalt Web Design?
Law of Simplicity Closure Proximity Uniform Connectedness Common Region Parallelism
CSS uses the Box Model when calculating the box properties. In the picture below, what does 'D' represent?
Margin
Hypertext ______ Language
Markup
CSS can be applied to:
One page Multiple pages An entire site
CSS uses the Box Model when calculating the box properties. In the picture below, what does 'B' represent?
Padding
What do we refer to as an established rule that governs communication?
Protocol
Consider the following CSS code: h1 { color: red; background-color: blue; } What is "h1" called in CSS terminology?
Selector
What is a powerful computer whose primary role is providing information to other machines (usually many simultaneous requests). This machine waits for a request for information. Once it receives a request, it retrieves the information, performs any processing needed, and sends the data back to the requesting client computer.
Server
What can we use the HTML col element to do?
Set the width of a column in a table
A block level element is an element which
Starts and ends with a new line, creating white space above and below its content.
Who is making the Web standards?
The World Wide Web Consortium
What is the name of the organization that is reponsible for managing web standards?
The World Wide Web Consortium (W3C)
How do you display a border like this: The top border = 10 pixels The bottom border = 5 pixels The left border = 20 pixels The right border = 1pixel?
border-width:10px 1px 5px 20px;
float causes block level elements to
display on the left or right of their container element with content wrapping around them.
How do you select all p elements inside a div element?
div p
Every hyperlink must have which of the following attribute/value pairs to function?
href
Consider the following URL: http://www.csci1710.net What file will a browser automatically look for if none is provided?
http://www.csci1710.net/index.html
In HTML5, which attribute is used to specify that an input field must be filled out?
required
Tables are rendered by a browser in what fashion?
row by row
HTML documents are made up of various ______ that define how the document will be structured.
tags
span elements are not:
used to apply formatting to small sets of text.