Review 8.02 Intro Code
What is the correct syntax for creating a link to the following external page: facebook.com?
<a href="http://www.facebook.com">Facebook</a>
Which option displays the correct e-mail link syntax? (The e-mail address is [email protected].)
<a href="mailto:[email protected]">Please e-mail me!</a>
What is the correct code to define a rectangular hotspot?
<area shape="rect" href="page.htm" coords=" x1,y1,x2,y2" />
If you have a long quote to display on your web page, which tag should be used?
<blockquote>
Which is not a paired tag?
<br />
Which of the following tags inserts a line break?
<br />
Unordered lists are also known as:
Bulleted lists
Circle coordinates are defined by:
Center x--center y--radius
Which of the following will allow you to view XHTML code from within your browser?
Clicking Source on the View menu
In this type of image map the image map is loaded into the browser code.
Client side
A hotspot can link only to a different area in the same website?
False
All images are appropriate for use as an image map?
False
You cannot use all of the following: alt, coords, shape with an <area> tag?
False
How does a browser handle spaces in HTML code?
They are compressed into a single space when displayed in the browser.
To begin a definition list, you use the tag <dl>.
True
XHTML is case sensitive and uses lowercase letters to create well formed documents
True
The three shapes available for an image map are:
circle--polygon--rectangle
A hypertext ____ is an item you can select, usually by clicking a mouse, to view another topic or document
link
What is the correct syntax for a comment tag?
<!-- Comment -->
When plotting the coordinates for a circle hotspot, how many coordinates should you have to code?
3
You have decided to have a link that jumps to a heading at the top of the page. How would you identify this heading so the browser knows to jump there? What would be the correct code for the hyperlink? (You want the header to be identified as "top.")
<h1 id="top">Heading</h1> <a href="#top">Go to top</a>
What is the correct syntax for changing the font face of an h2 tag to Times New Roman?
<h2 style="font-family: Times New Roman">
Which of the following is the XHTML tag used to insert a horizontal rule?
<hr />
What is the correct syntax to eliminate the border around an image?
<img src="pic.jpg" style="border-width: 0" />
What is the correct code to define a map named logomap?
<map id="logomap" name="logomap">
To use "keywords" to aid in the hits on your homepage, what tag should you use?
<meta>
What is the correct code for making a paragraph text centered and blue?
<p style="text-align: center; color: blue">
The correct syntax for setting an unordered lists to use a circle would be?
<ul style="list-style-type:circle">
The format for a definition list is based on a:
Glossary
What is the purpose of the <meta> tag?
Identify the page content for search tools
Where would you place the coordinates for each hotspot when creating an image map?
In the <area> tag
Where would the "Page Title" be displayed in the following code <title>Page Title</title>?
In the browser title bar
The "description" attribute in the META tag is used to:
Provide a brief annotation of the html's document content
What is the correct syntax for adding an attribute to a tag?
What is the correct syntax for adding an attribute to a tag?
Which image attribute allows your user to see text when they scroll over an image or if the image is missing?
alt
Which of the following heading styles would be used for the main heading of a Web page?
h1
When plotting a polygon hotspot, how many coordinate pairs should you have to code?
however many xy intersections in the shape
What attribute in the <area> tag indicates the URL of the hotspot?
href="url"
In this type of image map, the image is displayed by the browser, but is implemented by a program that runs on the server?
server side
Which is the correct syntax for the usemap attribute?
usemap="#job"