Re: Validating at W3C

by JamesKB <jameskb(at)bellsouth.net>

 Date:  Tue, 03 Jul 2001 21:00:49 -0500
 To:  hwg-basics(at)hwg.org
 In-Reply-To:  bellsouth
  todo: View Thread, Original
Thanks to ALL that replied.  Problem is solved, thanks to Bert Doorn, see 
below:

"document.write('">Add our site to your favorites (bookmarks).<\/a>');

Look at the end of the line: <\/a>   (being < backslash forward slash a >,
not <VA>)

Tat should do the trick"

And it did.  Page now validates.  Thanks Bert

At 07/03/01 17:20, you wrote:
>Hello all.....
>
>Would someone please take a look at http://www.res-xraynews.com/index.html 
>? I'm getting a validation error as follows:
>
><W3C error message>
>
>document.write('">Add our site to your favorites (bookmarks).</a>');
>                                                               ^
>Error: end tag for element "A" which is not open; try removing the end tag 
>or check for improper nesting of elements...
>
></W3C error message>
>
>The line in question is inside of a javascript.  Can  this script be 
>written so as not to get this validation error?

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA