HTML Tag Quiz

advertisement
TAG/JavaScript Quiz
1. The HTML used for a web page can be viewed in a browser by choosing…
a. View-> SOURCE
b. Save->Text
c. Tools->Show Links
d. File->Print
2. True or false: HTML tags can be written in upper case or lower case
3. The tags used to begin and end a web page are…
a. <HTML></END>
b. <BEGIN><END>
c. <HTML></HTML>
d. <BEGIN HTML><END HTML>
4. Suppose you see these tags: <B>Hi there</B> The words “Hi there” would
appear as…
a. Bold
b. Bold Italics
c. Bond font
d. Big font
5. Which of the following tag sets would display the word TESTING as large, bold,
and followed by a blank line?
a. <B>TESTING</B>
b. <H1>TESTING</H1>
c. <BB>TESTING</BB>
d. <BL>TESTING</BL>
6. If you want to display a list with numbers, the tags are
a. <NL></NL>
b. <UL></UL>
c. <OL></OL>
d. <LIST></LIST>
7. To put in a line across the webpage, the tag is/tags are
a. <HR>
b. <HR></HR>
c. <LINE></LINE>
d. <BR>
8. Which of the following is the correct tag to display a picture called HI.GIF
a. <IMG=HI.GIF>
b. <IMG>HI.GIF</IMG>
c. <IMG SRC=”HI.GIF”>
d. <IMG PICT=”HI.GIF”>
9. The tag <BR>
a. Puts a line across the screen
b. Moves to the next line (“line break”)
c. Moves to the next page (“page break”)
d. Makes text bold and right-justified
10. To put a color in the background of a page, use the tag…
a. <BG>red</BG>
b. <SETBG color=”red”>
c. <BODY SETBG “red”>
d. <BODY bgcolor=”red”>
11. To put an image in the background of a web page, use the tag(s)
a. <IMG BACKGROUND=”texture1.gif”>
b. <HEAD BG=”texture1.gif”>
c. <BODY BACKGROUND=”texture1.gif”>
d. You cannot put an image in the background of a web page.
12. True or false: bit-mapped files can be used in web pages.
13. True or false: an animated gif is a single image file
14. To make a link to HOMEPAGE.HTM from the words GO BACK
a. <L HREF=”GO BACK> HOMEPAGE.HTM</L>
b. <A HREF=” HOMEPAGE.HTM”>GO BACK</A>
c. <L HREF=” HOMEPAGE.HTM”>GO BACK</L>
d. <A HREF=”GO BACK”> HOMEPAGE.HTM</A>
15. .JPG stands for
a. Just Photo Graphic
b. Joint Expert Photographer’s Group
c. Joint Photo Graphics
d. Justified Picture Graphics
16. The <MAP> tag is used for
a. Drawing maps of countries, etc.
b. Making image maps (several links in one graphic)
c. Making web page maps (list of all links on a page)
d. Making web site maps (automatic forwarding)
17. In the link tag <A HREF=”joe.htm”>GO JOE</a>, the joe.htm file should be
a. In the same folder
b. Anywhere on the web
c. In a folder below the current page
d. In a folder above the current page
18. To display a pull-down menu n a web page <FORM>, the tag is
a. <MENU>
b. <SELECT>
c. <SELECT MENU>
d. <PULL>
19. When you use FRAMES, the <FRAMESET> tag replaces
a. <HEAD>
b. <BODY>
c. <TITLE>
d. <HTML>
20. To make the words EMAIL ME into a link that sends email, use…
a. <A HREF=”mailto:ffisher@csudh.edu”>EMAIL ME</A>
b. <A HREF =”:ffisher@csudh.edu>EMAIL ME</A>
c. <A HREF =:”http://ffisher@csudh/.edu”>EMAIL ME</A>
d. <A HREF =:http://mailto:ffisher@csudh.edu>EMAIL ME</A>
21. JavaScript is most commonly found in the _____ section.
a. <BODY>
b. <HEAD>
c. <TITLE>
d. <LINKS:>
22. The tags surrounding JavaScript in a web page are
a. <JavaScript></JavaScript>
b. <LANGUAGE=”JavaScript”></LANGUAGE>
c. <SCRIPT LANGUAGE=”JavaScript”></SCRIPT>
d. <PROGRAM LANGUAGE=”JavaScript”></PROGRAM>
23. True or false: JavaScript must be complied (changed to binary) before it can be
run.
24. JavaScript is called an “object oriented” language, This means…
a. It can be used to create animations.
b. It can be used to control graphics objects on the screen.
c. It can address specific parts of a web page (like tables and form elements).
d. It can be used to point objects in a particular direction.
25. Small programs like Logo procedures are called _____ in JavaScript.
a. procedures
b. programs
c. functions
d. codes
Download