HTLM 3.0 <A> definition

Michael Johnson (michaelj@relay.relay.com)
Thu, 15 Dec 94 16:28:21 EST


Subject: HTLM 3.0 <A> definition
Message-Id: <MICHAELJ.941215162821@relay.relay.com>
From: michaelj@relay.relay.com (Michael Johnson)
To: www-html@www0.cern.ch (HTML discussion list)
Date:    Thu, 15 Dec 94 16:28:21 EST

I've seen instances in HTML documents generated by WebMaker that contain
anchors with no end tag, as if the anchor DTD were:

  <!ELEMENT A   - O %A.content -(A)>

rather than

  <!ELEMENT A   - - %A.content -(A)>

It seems like there is no technical reason why this could not be made the
actual DTD for the anchor element. It's even useful, when the anchor does not
contain an HREF, only a NAME or ID. Might encourage sloppy coding, though.
What do others think about this?

The document I saw this in, BTW was:

http://www.hal.com/users/connolly/html-spec/spyglass-19941128/htmlspec281194_5
.html

Michael Johnson
Relay Technology, Inc.