Re: a simple question

* "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 UTC