www.webdeveloper.com
Results 1 to 3 of 3

Thread: Don't understand the xhtml validator...

  1. #1
    Join Date
    Jul 2003
    Posts
    184

    Don't understand the xhtml validator...

    Hi!

    I've got 4 errors that i can't understand. Maybe someone could help me:

    • Line 122, column 11: there is no attribute "name"
      <form name="sub" method="post" action="mailer.php?lang=fr" onsubmit="return chec
    • Line 148, column 16: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified
      <option selected>&#91; Série Élite &#93;</option>
    • Line 181, column 8: end tag for "select" which is not finished
      </select>
    • Line 185, column 16: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified
      <option selected>&#91; Sélectionner &#93;</option>

  2. #2
    Join Date
    Nov 2003
    Location
    Worthington, OH, USA
    Posts
    3,634
    Without seeing the code in question, kind of hard to comment; although, I believe the "name" attribute has been deprecated in most, if not all, instances in favor of "id". I'll need to check, but I also believe that the "selected" attribute needs to be set to "selected" vs. just being referenced in the option statement; i.e. <option selected="selected">Text</option>

  3. #3
    Join Date
    Nov 2002
    Location
    XYZZY - UK
    Posts
    1,760
    It would have helped if it were a question about accessibility, again we need a link to the page but TheBearMay seems to be talking sense and I'd probably agree since all XML documents use id over name.


    Moveover Joe Clark and Jakob Neilson;
    TOOLman: The New Face Of Accessibility
    Last edited by Robert Wellock; 05-13-2004 at 10:27 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles