W3C home > Mailing lists > Public > www-validator@w3.org > August 2000

Re: a simple question

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 30 Aug 2000 06:35:08 +0200
Message-ID: <008101c0123b$ae6b4550$389db43e@de>
To: "Michael Newton" <michael.newton@telus.net>
Cc: <www-validator@w3.org>
* "Michael Newton" <michael.newton@telus.net> wrote:
| Amid all the talk of XML and other such silliness, I have a plain old HTML
| question.  When I try to validate
| http://www3.telus.net/mikeland/navbar.html it doesn't like the fact that I
| have a TARGET attribute for an anchor,

Frames are only for backwards compatibility in HTML 4 Transitional and HTML 4
Frameset DTDs. In HTML 4.01, the DTD you are using, are no frames, and if
there are no frames, no target attribute [1] is needed, therfore you have to
use a Transitional DTD.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
   "http://www.w3.org/TR/REC-html40/loose.dtd">

[1] there is e.g. _blank that does not refer to any frame, therfore target
should be still included in strict dtd ... but i'm not writing the
recommendations :-)

regards,
--
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote +{i}
                           --- feedelity ---
Received on Wednesday, 30 August 2000 00:35:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:54 GMT