1. Each HTML document:
must have a least one image2. We can use the <br /> tag to:
contains a TITLE within its BODY
has a head and a body
has a comment tag
jump to the top of the document3. The <title> tag:
explicitly force a text line break
surpress the production of body rows
reduce the background richness
is used to display a title within the body of a document4. To specify the location of an image we use:
is used to display a title as a tooltip
is used to place a title in the browser's title bar
can never be omitted from an HTML file
the src attribute of the <img> tag5. <!-- My pug show --> is:
the <src> tag
the href attribute of the image
the <address> tag
an example of a comment in HTML6. Text entered after <img src="bluedemon.gif" align=left> will:
used to replace titles
used to create footers in HTML
used to preload pug images
print to the left of the image
explicitly force the text to print over the image
be printed at the bottom of the image
print to the right of the image and wrap around it
7. For web pages, internal style rules are found:
in the HEAD section of the html file8. The TITLE tag goes inside the BODY section
in the TITLE section of the html file
in the BODY section of the html file
within <script> tags
True False9. What is the correct HTML for inserting an image?
<img>image.gif10. What is the correct CSS for inserting logo.gif as a background image?
<img href="image.gif">
<img src="image.gif">
<image src="image.gif">
body {background-image: url(logo.gif)}File structure for questions 11, 12, and 13.
<body href="logo.gif">
body {background="logo.gif"}
<background src="logo.gif">
11.
From within gallery.htm to refer to the image, cow.jpg,
we would use the reference
cow.jpg12. From within aboutus.htm to refer to the image, logo.gif, we would use the reference
Images/cow.jpg
../Images/cow.jpg
../cow.jpg
../Images/logo.gif13. From within home.htm, to link to the aboutus.htm page we would use the reference
../../Images/logo.gif
Images/logo.gif
http://IT130/logo.gif
./aboutus.htm14. Suppose, in an html page, we want all paragraphs to use the verdana type font.
../Pages/aboutus.htm
Pages/aboutus.htm
IT130/Pages/aboutus.htm
<p "font-face: verdana">15. How can you make a list that lists the items with bullets?
p {font-face: verdana}
p {font-face = "verdana"}
p {font-family: verdana}
<list>16. In <HR>, the HR stands for:
<dl>
<ul>
<ol>
Horizontal Runes17. Lists cannot be nested within each other.
Hunting Regulations
Happy Romulans
Horizontal Rule
True False18. Suppose, in the sentence: "The sooner you fall behind the more
<span style="font-weight: red">more time you have</span>19. What internal CSS rule do we use to set the color of unvisited links to green?
<span style="color: red">more time you have</span>
<font "color: red">more time you have</font>
{span style="color: red"}more time you have</span>
a: unvisited {color: green}20. What is the correct HTML for making a hyperlink?
link {color: green}
a {link-color: green}
a:link {color: green}
<a href="http://www.dogsite.com">Dog Site</a>21. There are three ways to attach a style to a tag:
<a href="url://www.dogsite.com">Dog Site</a>
<a www.dogsite.com</a>
<a nameref="http://www.dogsite.com">Dog Site</a>
with an img tag, with a ref tag, with a div tag22. h1 {color: blue; font-style: italic} is an example of:
pre-tag, post-tag, and align-center
inline, internal, and external
internal, external, and kinetic
an import rule23. <p class=abs> is an example of:
an <h1> tag
a style rule
a selector
a hyper-tag
using a style class24. If we define the CSS rule p {font-weight: bold} in an HTML document, then
defining an abstract paragraph
defining a style rule
defining a selector of a class
all text in the document will be bold face25. If the CSS rule h4 {text-align: center} is defined, then
each paragraph will be in bold face
only paragraphs starting with the <font> tag will be in bold face
none of the above
all text will be centered26. What special character can be used to insert white space without a line break.
h4 is the selector
h4 is the property
all headings will be centered
&sp;27. Both <th>Diet</th> and <td>Diet</td> insert the word Diet into a table cell.
<space>
<p line="nobreak">
True False28. Both <body bgcolor="yellow"> and body {background-color: yellow}
True False29. The title attribute
is used to display ones "alter ego"30. Which of these tags are all <table> tags?
is used to define "alternative text" for an image
lets you select "alternative medicine"
is used with the <ul> tag to specify alternative list types
<table><tr><td>
<thead><body><tr>
<table><title><tfoot>
<table><tr><tcol>