Re: validation error

by "Cindy Stanley, SSS WebWorks" <stanleysupport(at)prodigy.net>

 Date:  Sat, 12 Aug 2000 00:33:47 -0400
 To:  <hwg-basics(at)hwg.org>
  todo: View Thread, Original
From: Shelley Watson <shelleyw(at)home.com>

>Line 59, column 180:
>  ... ="Ichange('default1')"><IMG SRC="navar1.gif" NAME="image1"
>border="0"  ...
>                                                        ^
>Error: there is no attribute "NAME"
>----------------
>I'm wondering how important that is

Depending upon your targeted audience and their browser versions...

>and if I should be looking at redoing the javascript somehow in order
to get my page to validate.

the "name attribute" works w/ nn3+, ie4+, and opera. From my research,
if you want to use the "name attribute", then you'll have to specify the
HTML 4.01 DTD in order for it to validate. The "name attribute" will not
validate using the HTML 4.0 DTD, for it doesn't include the "name
attribute". If you'd like to validate for HTML 4.0 DTD, then you will
have to use *arrays*.  But, keep in mind, you will be losing viewers
from the older versions of browsers by using the array method. At this
time, I personally use the array method and validate my docs using the
HTML 4.0 DTD. An example of using arrays can be found at the following
url:
<http://www.ssswebworks.com/>

--
Cindy K. Stanley, SSS
Stanley Support Service

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