HTML TEST Multiple Choice Identify the choice that best completes the statement or answers the question. 1. What does HTML stand for? a. Hyper Link Markup Language b. Hyper Text Markup Logics c. Hyper Text Transfer Language d. Hyper Text Markup Language 2. HTML is one of the most basic programming languages, and it is used to a. view a Web page on the Internet. b. tell the browser where and how to display all the elements of the Web page. c. tell the browser to save a document as a Web Page. d. transmit Web pages to your computer via a special communication protocol or rules. 3. The text editor that comes with Windows operating systems is called a. Notepad. b. Notebook. c. Microsoft Word. d. Notepaper. 4. To save text as a Web page, use the file extension(s) a..htm b..txt c..html d..docx e. both a and b f. both a and c g. all of the above are correct 5. _ are HTML commands used to format your page, and they are contained between the _. a. Tags, open quote and close quote. b. Attributes, open quote and close quote. c. Tags, less than sign and the greater than sign. d. Attributes, less than sign and the greater than sign. 6. All of the following are reasons to write HTML tags in all caps except a. It is the only way the code can be interpreted by a browser. b. So that it stands out amongst the rest of the code. c. Tags are easier to spot in all caps. d. All of the above are correct. 7. In HTML, there are 2 basic types of tags. They are a. stop tags and insert tags. b. insert tags and stop tags. c. start tags and stop tags. d. start/stop tags and insert tags. 8. _ tell your browser to either start doing something or stop doing something. a. Commands
b. Insert tags c. Attributes d. Start/stop tags 9. _ are designed to put something onto the page (like a picture, a horizontal line, or a text break), then they are done. a. Start/stop tags b. Insert tags c. Commands d. Attributes 10. Insert tags do not require a. values. b. start tags. c. stop/end tags. d. attributes. 11. You always want to begin your page with a tag. a. <BODY> b. <HTML> c. <HEAD> d. </HTML> 12. You always want to end your page with a tag. a. </HEAD> b. </HTML> c. <HTML> d. </BODY> 13. The 2 sections that HTML documents are divided into are the a. head and body. b. HTML and head. c. body and title. d. title and body. 14. Most tags will appear in the _ of a document. a. title b. foot c. body d. head 15. The _ is what will appear in the blue bar at the top of the browser, but will not appear on the page itself. a. title b. heading c. comment d. body 16. The title must be contained between the _ and _ commands. a. <BODY> </BODY> b. </HEAD> <BODY> c. <BODY> </HTML> d. <HEAD> </HEAD>
17. The line break tag that leaves a blank line, like double-spacing, is the a.   b. <DIV> c. <P> d. <BR> 18. The line break tag that ends the current line, and begins displaying text on the next line is the a. <DIV> b. <BR> c. <P> d.   19. The _ tag tells the browser to make the text bold and a particular size. a. paragraph b. bold c. font d. heading 20. Of the following tags, the tag that would display the largest size would be a. <H6> b. <H2> c. <H3> d. <H5> 21. Looking at the tag <H1 ALIGN= center > the attribute would be represented by a. H1 & ALIGN b. center c. H1 d. ALIGN 22. Looking at the tag <H1 ALIGN= center > the value would be represented by a. center b. H1 & ALIGN c. H1 d. ALIGN 23. To change the background color of your page, you need to add the attribute to the BODY tag. a. BACKGROUND b. BGRDCOLOR c. COLOR d. BGCOLOR 24. The start tag to change the background to yellow would look like a. <BODY BGCOLOR= #00FF00 > b. <HTML BGCOLOR= #FFFF00 > c. <BODY BGCOLOR= #FFFF00 > d. <HEAD BGCOLOR= #FFFF00 > 25. To change the color of your text, you will add the attribute to the BODY tag. a. FONT b. COLOR c. TEXT d. FACE
26. To add a horizontal line (also called a horizontal rule) to your document, use the tag. a. <LI> b. <H1> c. <HL> d. <HR> 27. The start tag to add a horizontal line with a width of a quarter of the page would look like: a. <HR WIDTH= 25% > b. <HL WIDTH= 25% > c. <HR WIDTH= 75% > d. <HR WIDTH= 50% > 28. The hexadecimal code for blue is a. FFFF00 b. 0000FF c. FF0000 d. 00FF00 29. If you wanted a bulleted list on your Web page you would use the _ tag. a. <LI> b. <DL> c. <UL> d. <OL> 30. If you wanted a numbered list on your Web page you would use the _ tag. a. <OL> b. <DL> c. <LI> d. <UL> 31. If you wanted a definition list on your Web page you would use the _ tag to begin the list. a. DI b. DL c. DT d. DD 32. The _ tag is used to begin each item in a list. a. <UL> b. <OL> c. <LI> d. <DL> 33. In a definition list, the _ tag begins the definition term. a. DL b. DT c. DD d. LI 34. If you wanted a unordered list with square bullets, your start tag would look like: a. <UL TYPE= square > b. <OL TYPE= square > c. <UL TYPE= i
d. <UL TYPE= 2 > 35. The tags that would make the word Test italicized would look like: a. </I>Test<I> b. <I>Test<I> c. <B>Test</B> d. <I>Test</I> 36. You can use the _ attribute to specify which font you would like your text to appear in. a. BODY b. FONT c. FACE d. TYPE 37. The start tag to change the font of a Web page to 12 point Courier should look like: a. <FONT FACE= COURIER SIZE= 3 > b. <FONT FACE= Courier SIZE= 3 > c. <FACE= Courier SIZE= 12 > d. <FONT TYPE= Courier SIZE= 12 > 38. The file extension JPEG stands for a. Joint Photographic Group b. Joint Photographic Experts Group c. Joint Photo Experts Group d. Joint Photographic Experts Graphic 39. The file extension GIF stands for a. Graphics Internal Format b. Graphics Interchange Format c. Graphically Interchangeable Format d. Graphics Internally Formatted 40. To insert an image in HTML you use the_ tag, which is an insert tag and does not require a stop/end tag. a. IMG b. SRC c. FILE d. PIC 41. The _ attribute must be specified for the image you are using in HTML. a. PIC b. FILE c. IMG d. SRC 42. You have saved an image of a Thanksgiving Day turkey as turkey.jpg on your computer. You want to insert this image on your Web page you are creating about Thanksgiving. Your tag for inserting this image should be a. <IMG SRC= Turkey.jpg > b. <IMG SRC=turkey.jpg> c. <SRC IMG= turkey.jpg > d. <IMG SRC= turkey.jpg >
43. You are creating a Web page about Thanksgiving, and you have saved an image of some pilgrims on your computer as pilgrims.jpg. You want to insert the image of the pilgrims on your Web page and center it. Your HTML code for this should be a. <DIV ALIGN=center> <IMG SRC= pilgrims.gif > </DIV> b. <DIV ALIGN= center > <IMG SRC= pilgrims.jpg > </DIV> c. <DIV ALIGN= middle > <IMG SRC= pilgrims.jpg > </DIV> d. <DIV ALIGN= center > <IMG SRC= pilgrims.jpg > <DIV> 44. Another attribute that should always be included in an image tag is the _ attribute, which adds a short text phrase to the image when the mouse points to the image. a. HREF b. CAPTION c. ALT d. COMMENT 45. To add a hyperlink to your document, use the _ tags. a. <A NAME= >...</A> b. <A HREF= >...</A> c. <A LINK= >...</A> d. <A VLINK= >...</A> 46. A link in HTML that contains the URL of the external site you are linking to is called a(n) a. graphic link. b. relative link. c. target link. d. absolute link. 47. Linking to another file that is on the same computer is called a(n) a. relative link. b. graphic link. c. target link. d. absolute link. 48. A link on a Web page that connects to another part or section of the same Web page is called a(n) a. absolute link. b. relative link. c. target link. d. graphic link. 49. To link from one part of a Web page to another part of the same page, you must first create an anchor, and then link to that anchor. To create the anchor, you use the _ command. a. <A HREF= >...</A> b. <A NAME= >...</A> c. <A LINK= >...</A>
d. <ANCHOR= >...</A> 50. You have saved an image of a tiger as tiger.jpg on your computer. You are creating a Web page about the Houston Zoo, and you want to use the image of the tiger as a link to the Houston Zoo s Web site (http://www.houstonzoo.org). Your code to use the tiger image as a graphic link, without a border on the image, should be a. <A NAME= http://www.houstonzoo.org ><IMG SRC= tiger.jpg BORDER= 0 ></A> b. <A HREF= http://www.houstonzoo.org ><IMG SRC= tiger.jpg BORDER= 0 ></A> c. <A HREF= http://www.houstonzoo.org ><IMG SRC= Tiger.jpg BORDER= NO ></A> d. <A HREF= www.houstonzoo.org ><IMG SRC= tiger.jpg BORDER= 0 ></A> 51. Generally, unvisited hyperlinks are the color blue and visited hyperlinks are the colors _. a. red or purple b. green or brown c. gray or yellow d. black or white 52. To set the color for an unvisited link you would use the _ attribute in the BODY tag. a. ALINK b. VLINK c. LINK d. ULINK 53. To change the color of a visited link you would use the _ attribute in the BODY tag. a. ALINK b. ULINK c. VLINK d. LINK 54. To use an image as a background, you need to add the _ attribute to the BODY tag. a. BGIMG b. BACKGROUND c. BGCOLOR d. BGRND 55. To create a watermark (where the background picture does not scroll as page scrolls as if the text is floating above the background), use the _ attribute in the BODY tag. a. BACKGROUND b. BGPROPERTIES c. BGIMAGE d. WATERMARK 56. To control how a background image tiles (or repeats), you can use the _ attribute in the BODY tag. a. REPEAT b. STYLE c. FIX d. TILE 57. _ in HTML allow you to arrange text, images and other HTML content into rows and columns with or without borders. a. Sections b. Tables c. Charts
d. Lists 58. In HTML to create a table, you use the _ tags. a. TABLE b. INSERT c. COLUMN d. GRAPH 59. The most common attribute of the table tag is the _ attribute. a. ROW b. BORDER c. COLUMN d. CELL 60. To create each table row, you would use the _ tag. a. TD b. ROW c. TR d. TH 61. To create a table heading, you would use the _ tag. a. TR b. TH c. TD d. THEAD 62. To create table data or each cell in a row, you would use the _ tag. a. TH b. CELL c. TD d. TR 63. If you want space in the cell of a table, you can use the non-breaking space symbol, which is, to create blank spaces. a.   b. $nbsp c. nbsp d. nbsp& 64. A _ is used to add a title, description, or explanation to a table. a. table heading b. table comment c. table alt tag d. table caption 65. The default location for the caption is top and _. a. bottom b. right c. left d. centered 66. You can use the _ tag to break a long heading or data in a table. a. BR
b. P c.   d. BREAK 67. The WIDTH attribute can be used inside the _ tag to set the width of the table in pixels or as a percentage of the browser window. a. HEAD b. THEAD c. TABLE d. BODY 68. You can use the BORDER attribute in the TABLE tag to set the width of the border around the table. The border is in pixels and the default is BORDER=. a. 0 b. 1 c. 5 d. 2 69. _ is responsible for the space between the content and border of the cell. a. Cell spacing b. Cell height c. Cell padding d. Cell width 70. Use the _ attribute in the <TABLE>, <TR>, <TH>, or <TD> tag to change the background color of the cell(s). a. BACKGROUND b. COLOR c. BGRNDCOLOR d. BGCOLOR 71. You can specify a color for the border of the table by adding the _ attribute to the table tag a. BGCOLOR b. BRDRCOLOR c. BORDERCOLOR d. COLOR 72. Sometime table headings or data span more than one row/column. To create a row or column that spans more than one row/column add a _ attribute to the <TD> or <TH> tag. You need to specify how many rows or columns you want to span. a. ROWSPAN b. MULTIPLE c. COLSPAN d. both a and c 73. To create the Copyright Symbol from HTML code, you would use a. ®. b. #copy. c. @copy. d. ©. 74. To create the greater than symbol > using HTML code, you would use a. <.
b. @gt. c. >. d. &grthn. 75. To create quotes in HTML code, you would use a. #quot. b. ". c. < >. d. QUOTE.
HTML TEST Answer Section MULTIPLE CHOICE 1. ANS: D PTS: 1 2. ANS: B PTS: 1 3. ANS: A PTS: 1 4. ANS: F PTS: 1 5. ANS: C PTS: 1 6. ANS: A PTS: 1 7. ANS: D PTS: 1 8. ANS: D PTS: 1 9. ANS: B PTS: 1 10. ANS: C PTS: 1 11. ANS: B PTS: 1 12. ANS: B PTS: 1 13. ANS: A PTS: 1 14. ANS: C PTS: 1 15. ANS: A PTS: 1 16. ANS: D PTS: 1 17. ANS: C PTS: 1 18. ANS: B PTS: 1 19. ANS: D PTS: 1 20. ANS: B PTS: 1 21. ANS: D PTS: 1 22. ANS: A PTS: 1 23. ANS: D PTS: 1 24. ANS: C PTS: 1 25. ANS: C PTS: 1 26. ANS: D PTS: 1 27. ANS: A PTS: 1 28. ANS: B PTS: 1 29. ANS: C PTS: 1 30. ANS: A PTS: 1 31. ANS: B PTS: 1 32. ANS: C PTS: 1 33. ANS: B PTS: 1 34. ANS: A PTS: 1 35. ANS: D PTS: 1 36. ANS: C PTS: 1 37. ANS: B PTS: 1 38. ANS: B PTS: 1 39. ANS: B PTS: 1 40. ANS: A PTS: 1 41. ANS: D PTS: 1
42. ANS: D PTS: 1 43. ANS: B PTS: 1 44. ANS: C PTS: 1 45. ANS: B PTS: 1 46. ANS: D PTS: 1 47. ANS: A PTS: 1 48. ANS: C PTS: 1 49. ANS: B PTS: 1 50. ANS: B PTS: 1 51. ANS: A PTS: 1 52. ANS: C PTS: 1 53. ANS: C PTS: 1 54. ANS: B PTS: 1 55. ANS: B PTS: 1 56. ANS: B PTS: 1 57. ANS: B PTS: 1 58. ANS: A PTS: 1 59. ANS: B PTS: 1 60. ANS: C PTS: 1 61. ANS: B PTS: 1 62. ANS: C PTS: 1 63. ANS: A PTS: 1 64. ANS: D PTS: 1 65. ANS: D PTS: 1 66. ANS: A PTS: 1 67. ANS: C PTS: 1 68. ANS: B PTS: 1 69. ANS: C PTS: 1 70. ANS: D PTS: 1 71. ANS: C PTS: 1 72. ANS: D PTS: 1 73. ANS: D PTS: 1 74. ANS: C PTS: 1 75. ANS: B PTS: 1