GeoCities.us GeoCities.us » Athens » Forum Get your FREE home page!
HTML Self-Quiz
Twenty questions to go with The One-Page HTML Cheat Sheet · Rhonda Allee

Get out a sheet of paper and a pencil. Write your answers down; don't just think them, write them. Try it without the cheat sheet first. The answers are at the bottom of the page, and if you scroll down there before you're done, the only person you're fooling is you.

Teachers: print it like the cheat sheet. Fold the answers under, or cut them off.

Questions
1. What do the letters HTML stand for?

2. What should you name your home page so visitors see it when they type your address?

3. Which tag starts a new line without leaving a blank line?

4. Which tag goes around the words that show in the bar at the very top of the browser window?

5. Write the tag to show a picture named cat.gif that is 120 pixels wide and 90 tall, with the words "My cat" for anyone who can't see it.

6. What's wrong with this? <A HREF="page2.html>Next</A>

7. Which BODY attribute sets the color of links you haven't clicked yet?

8. What is the hex code for white?

9. How do you make a < sign show up on the page?

10. Write a link that opens a new e-mail to [email protected].

11. Which tag starts a numbered list?

12. In a table, which tag starts a row, and which starts a cell?

13. What does CELLPADDING do?

14. What's wrong with this? <B><I>Hello</B></I>

15. You saved your page in Notepad, and it's named index.html.txt. What happened, and how do you fix it?

16. Which is the better file name, My Dog.GIF or my_dog.gif? Why?

17. Write a link that jumps to the spot on the same page marked <A NAME="top">.

18. What is &nbsp; for?

19. A picture that's also a link has a blue box around it. What do you add to the IMG tag to get rid of the box?

20. Your page looks fine in Internet Explorer, but Netscape shows a blank page where your table should be. What did you probably forget?

Scoring: 18 to 20, you're ready to build a page. 13 to 17, keep the cheat sheet taped up a while longer. 12 or under, read it through once more and take the quiz again tomorrow. Nobody learned this in a day.













(answers below)












Answers
1. HyperText Markup Language.
2. index.html
3. <BR>
4. <TITLE> and </TITLE>, inside the HEAD.
5. <IMG SRC="cat.gif" WIDTH="120" HEIGHT="90" ALT="My cat">
6. The closing quote mark after page2.html is missing.
7. LINK. (VLINK is for visited links.)
8. #FFFFFF
9. Type &lt;
10. <A HREF="mailto:[email protected]">E-mail me</A>
11. <OL>. Each item gets an <LI>.
12. <TR> for a row, <TD> for a cell.
13. It puts room between a cell's border and what's inside the cell.
14. The tags close in the wrong order. It should be <B><I>Hello</I></B>.
15. Notepad added .txt. Save it again with the name in quotes, "index.html", or choose All Files under Save as type.
16. my_dog.gif. No space, and all lowercase, so the Web server can't mix it up.
17. <A HREF="#top">Back to top</A>
18. A space the browser has to keep. Several in a row make extra space, which plain spaces can't.
19. BORDER="0"
20. </TABLE>

« Back to the cheat sheet
Found a mistake in my quiz? Tell me, and I'll owe you a gold star: [email protected]
Last updated September 19, 1999