W3C home > Mailing lists > Public > www-html@w3.org > October 2002

RE: why not valid? HTML 4.01 strict

From: Hajratwala, Nayan (N.) <nhajratw@ford.com>
Date: Thu, 31 Oct 2002 12:59:13 -0500
Message-ID: <2193DEC532DCD311BCF8009027DE2410177926E8@na1ecm05.dearborn.ford.com>
To: "'www-html@w3.org'" <www-html@w3.org>

This is a surprise to me too, but a look at the HTML 4.01 spec shows:

<!ELEMENT A - - (%inline;)* -(A)       -- anchor -->
  %attrs;                              -- %coreattrs, %i18n, %events --
  charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
  type        %ContentType;  #IMPLIED  -- advisory content type --
  name        CDATA          #IMPLIED  -- named link end --
  href        %URI;          #IMPLIED  -- URI for linked resource --
  hreflang    %LanguageCode; #IMPLIED  -- language code --
  rel         %LinkTypes;    #IMPLIED  -- forward link types --
  rev         %LinkTypes;    #IMPLIED  -- reverse link types --
  accesskey   %Character;    #IMPLIED  -- accessibility key character --
  shape       %Shape;        rect      -- for use with client-side image maps --
  coords      %Coords;       #IMPLIED  -- for use with client-side image maps --
  tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  onfocus     %Script;       #IMPLIED  -- the element got the focus --
  onblur      %Script;       #IMPLIED  -- the element lost the focus --

target is not in the list.  Not sure what you're supposed to use instead.

- Nayan Hajratwala
- Chikli Consulting LLC
- http://www.chikli.com

-----Original Message-----
From: Robert Koberg [mailto:rob@koberg.com]
Sent: Thursday, October 31, 2002 12:46 PM
To: W3 HTML Mailing List
Subject: why not valid? HTML 4.01 strict


I am getting a validation error on a seemingly valid thing. The output of the w3
validator says:

Line 14, column 50: there is no attribute "TARGET" (explain...).
  ... livesb.livestoryboard.com" title="HTML" target="_blank">HTML 4.01</ ...

The source looks like:

<a href="http://validator.w3.org/check/referer" title="HTML"
target="_blank">HTML 4.01</a>

The page is at:

http://livesb.livestoryboard.com - at the bottom, below the footer to the left
are links to validate the page

target is valid so is this a bug in the validator?

Received on Thursday, 31 October 2002 13:01:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:01 UTC