Download Web Design Pretest

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

URL redirection wikipedia , lookup

Cascading Style Sheets wikipedia , lookup

Transcript
Name: ___________________
Date: __________
Web Design Pretest
1. What does HTML stand for?
2. Which file extensions are used with standard web pages?
a. .web, .doc
b. .xhtml, .css3
c. .txt, .xhtml
d. .htm, .html
3. What should be the first tag in any web page?
a. <head>
b. <body>
c. <html>
d. <page>
4. Which is not part of an XHTML element?
a. The start tag
b. The end tag
c. Attributes
d. Title
5. How would you create a link to another web page named "page2.html"?
a. <a href=page2.html>link to page 2</a>
b. <a ref="page2.html">link to page 2
c. <a href="page2.html">link to page 2 </a>
d. a ref="page2.html"
6. Which of the following is not a self-closing tag?
a. <hr>
b. <form>
c. <img>
d. <br>
Name: ___________________
7. What does the tag <p> stand for?
a. Paragraph
b. Person
c. Page
d. Presentation
8. What is the start tag for creating a table?
a. <make table>
b. </table>
c. <table>
d. <new table>
9. What is the syntax for an XHTML comment?
a. <comment>This is a comment</comment>
b. <!-- This is a comment -->
c. <com: This is a comment>
d. <comment:"This is a comment" />
10. What is wrong with the following?
<img source=”mypic.jpg” />
11. Which of the following is not considered a special character in XHTML?
a. Question mark
b. Quotation mark
c. Less than sign
d. Copyright symbol
12. Which of the following will create a bulleted list?
a. <blist>
b. <ol>
c. <bullet>
d. <ul>
Date: __________
Name: ___________________
13. What is the start tag for an individual item in a list?
a. <list>
b. <ol>
c. <li>
d. <item>
14. A CSS class is defined by starting with which character?
a. Colon
b. Semicolon
c. Backslash
d. Period
15. Which CSS level overrides all the others?
a. External style sheet
b. Internal style sheet
c. Inline style
d. Browser Default
16. Internal style sheets are defined where?
a. In the head section
b. In the body section
c. Within the html tag
d. In a separate file
17. The CSS statement:
{background-color:#ff0000;}
creates a background of what color?
a.
b.
c.
d.
Blue
Green
Red
Yellow
Date: __________
Name: ___________________
18. What will be the result of the following CSS?
body
{
background-image:url('pic.gif');
background-repeat:repeat-x;
}
a.
b.
c.
d.
The image displays once in the top left corner of the screen
The image repeats down the center of the window
The image repeats down the left side of the window
The image repeats across the top of the window
19. What will the following CSS do?
p {color:green;}
a.
b.
c.
d.
The background color of the page will be green
The background color of any paragraph element will be green
The text of any paragraph element will be green
The text of the entire page will be green
20. The following CSS:
a:link {color:red;}
sets which state of a link to the color red?
a.
b.
c.
d.
Visited
Unvisited
Active
Mouseover
Date: __________
Name: ___________________
Date: __________
Web Design Pretest Answer Key
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
Hypertext Markup Language
D
C
D
C
B
A
C
B
‘source’ should be ‘src’
A
D
C
D
C
A
C
D
C
B