i ran my site through a HTML doctor and it gave me a list of 347 HTML Syntax errors...

i'm still new to HTML and java and wanted to know if theres an easy way of fixing these errors other than going through the code line by line?

Line # Error/Warning Description

line 1 Error: empty container element <SCRIPT>.

line 285 Warning: markup embedded in a comment can confuse some browsers.

line 306 Error: should not have whitespace between "<" and "document.links.length; al++) {

line 306 Error: unknown element <document.links.length;>.

line 306 Error: <BR> cannot appear in the HEAD element.

line 306 Error: unknown attribute "+" for element <a>.

line 306 Error: unknown attribute "DOCUMENT.LINKS[AL].HREF" for element <a>.

line 306 Error: attribute + is repeated in element <a>

line 306 Error: unknown attribute ""\"" for element <a>.

line 306 Error: <A> cannot appear in the HEAD element.

line 306 Error: unmatched </P> (no matching <P> seen).

line 319 Error: metacharacter '>' should be represented as '&gt;'

line 322 Error: metacharacter '>' should be represented as '&gt;'

line 327 Error: metacharacter '>' should be represented as '&gt;'

line 329 Error: metacharacter '>' should be represented as '&gt;'

line 330 Error: metacharacter '>' should be represented as '&gt;'

line 361 Error: should not have whitespace between "<" and "allTables.length; at++ ) {

line 361 Error: unknown element <allTables.length;>.

line 361 Error: unknown attribute "+" for element <A>.

line 361 Error: unknown attribute "ADDUSER.TOLOWERCASE().REPLACE(/(\S*)/IG," for element <A>.

line 361 Error: unknown attribute """)" for element <A>.

line 361 Error: attribute + is repeated in element <A>

line 361 Error: unknown attribute "".SHOWPUBLICPROFILE" for element <A>.

line 361 Error: <A> cannot appear in the HEAD element.

line 361 Error: <SPAN> cannot appear in the HEAD element.

line 361 Error: unmatched </FONT> (no matching <FONT> seen).

line 398 Error: should not have whitespace between "<" and "allProfiles.length; xp++) {

line 398 Error: unknown element <allProfiles.length;>.

line 404 Error: should not have whitespace between "<" and "b) ? -1

line 404 Error: unknown element <b)>.

line 437 Error: no closing </SPAN> seen for <SPAN> on line 361.

line 437 Error: no closing </A> seen for <A> on line 361.

line 437 Error: unexpected < in <body text=#32cd32 bgcolor=#000000 link=#32cd32 vlink=#95CAFF alink=#99CCFF <body text=#980517 bgcolor=#000000 link=00CCFF vlink=00CCFF alink=00CCFF > -- potentially unclosed element.

line 437 Error: unknown attribute "<BODY" for element <body>.

line 437 Error: attribute TEXT is repeated in element <body>

line 437 Error: attribute BGCOLOR is repeated in element <body>

line 437 Error: attribute LINK is repeated in element <body>

line 437 Error: attribute VLINK is repeated in element <body>

line 437 Error: attribute ALINK is repeated in element <body>

line 437 Error: illegal value for VLINK attribute of body (00CCFF)

line 437 Error: illegal value for LINK attribute of body (00CCFF)

line 437 Error: illegal value for ALINK attribute of body (00CCFF)

line 443 Error: tag <HTML> should only appear once. I saw one on line 1!

line 444 Error: tag <HEAD> should only appear once. I saw one on line 1!

line 445 Error: tag <TITLE> should only appear once. I saw one on line 1!

line 445 Warning: The HTML spec. recommends the TITLE be no longer than 64 characters.

line 522 Warning: markup embedded in a comment can confuse some browsers.

line 529 Error: tag <BODY> should only appear once. I saw one on line 437!

line 572 Error: element <EMBED> is not a container -- </EMBED> not legal.

line 588 Error: empty container element <A>.

line 617 Error: empty container element <B>.

line 621 Error: empty container element <B>.

line 625 Error: empty container element <B>.

line 636 Error: empty container element <FONT>.

line 643 Error: empty container element <SPAN>.

line 645 Error: empty container element <FONT>.

line 647 Error: illegal value for DIRECTION attribute of marquee (up)

line 647 Error: unknown element <right>.

line 647 Error: empty container element <U>.

line 647 Error: unknown element </right>.

line 647 Error: unmatched </P> (no matching <P> seen).

line 661 Error: empty container element <FONT>.

line 668 Error: empty container element <SPAN>.

line 670 Error: empty container element <FONT>.

line 672 Error: illegal value for DIRECTION attribute of marquee (up)

line 672 Error: unknown element <right>.

line 672 Error: empty container element <U>.

line 672 Error: unknown element </right>.

line 672 Error: unmatched </P> (no matching <P> seen).

line 686 Error: empty container element <FONT>.

line 693 Error: empty container element <SPAN>.

line 695 Error: empty container element <FONT>.

line 697 Error: illegal value for DIRECTION attribute of marquee (up)

line 697 Error: unknown element <right>.

line 697 Error: unknown element </right>.

line 697 Error: unmatched </P> (no matching <P> seen).

line 716 Error: unexpected < in <td width="165" height="128"< align="center"> -- potentially unclosed element.

line 716 Error: unknown attribute "<" for element <td>.

line 716 Error: empty container element <TD>.

line 762 Error: odd number of quotes in element <td width="118"">.

line 762 Error: unknown attribute """ for element <td>.

line 764 Error: empty container element <B>.

line 773 Error: odd number of quotes in element <td width="118" bgColor="#1F1D18" height="1" style="font-size

line 773 Error: attribute HEIGHT is repeated in element <td>

line 773 Error: unknown attribute """ for element <td>.

line 777 Error: should not have whitespace between "<" and "<option value="http

line 777 Error: unknown element <<option>.

line 777 Error: unmatched </OPTION> (no matching <OPTION> seen).

line 781 Error: metacharacter '>' should be represented as '&gt;'

line 791 Error: empty container element <A>.

line 791 Error: empty container element <I>.

line 799 Error: odd number of quotes in element <td width="118" background="http

line 799 Error: unknown attribute """ for element <td>.

line 799 Error: attribute HEIGHT is repeated in element <td>

line 804 Error: odd number of quotes in element <td width="118" bgColor="#1F1D18" height="1" style="font-size

line 804 Error: attribute HEIGHT is repeated in element <td>

line 804 Error: unknown attribute """ for element <td>.

line 814 Error: empty container element <A>.

line 814 Error: empty container element <I>.

line 822 Error: odd number of quotes in element <td width="118" background="http

line 822 Error: unknown attribute """ for element <td>.

line 822 Error: attribute HEIGHT is repeated in element <td>

line 827 Error: odd number of quotes in element <td width="118" bgColor="#1F1D18" height="1" style="font-size

line 827 Error: attribute HEIGHT is repeated in element <td>

line 827 Error: unknown attribute """ for element <td>.

line 837 Error: empty container element <A>.

line 837 Error: empty container element <I>.

line 844 Error: odd number of quotes in element <td width="118" background="http

line 844 Error: unknown attribute """ for element <td>.