Practice Debugging

In each line of the "complete" HTML code fragments below there may be bug(s). If there are, circle the bugs (entire incorrect tag, for example) or insert the missing tag or tags. If there is no bug, do nothing.

<A HREF SOURCE = "jungle.html">Animals</A>

<A NAME = "John", "Smith"> A link to here. </>

<UL>

<LI> One down.

<LI> One to go.

</LU>

<IMAGE SRC = "bullet.jpg">

<HR WIDTH = "50%" NOSHADE> </HR>

<CTR> Centered text. </CTR>

</H3 ALIGN = "ctr"> Header 3. </H3>

<P ALIGN = "center"> A centered paragraph. </P>

<BLOCKQUOT> A blockquote. </BLOCKQUOT>

<OL TYPE = "disc">

<LI> circles

<LI> squares

<LI rectangles

<OL>

<MENU>

<LI> Breakfast

LI Lunch

<LI>

</MENU>

<LI> dinner

<BODY BGCOLOR = "cool.jpg" TEXT = "#www.com"> Under contr. </CORPSE>

<FONT COLOR = "#RRGGBB"> Rainbow colors. </FONT>

<P ALIGN = "center"> <IMG SRC = "wildcat.gif> </P>

<COMMENT> Not rendered. </COMMENT>

<DL>

<DT> * <DEFD> Definition goes here.

<DT> *<DEFD> Next here.

</DL>

<EMP> slanted text </EMP>

<OL>

<LI START = "2"> two

<LI> three

<OL>

<LI> four, nested

<OL>

</OL>

© McGraw-Hill 1997. All rights reserved.

This presentation accompanies the book "In-line/On-line: Fundamentals of the Internet and World Wide Web" (ISBN 0-072-90685-5) written by Raymond Greenlaw and Ellen Hepp.