HTLM 3.0 <A> definition

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.

Received on Thursday, 15 December 1994 22:35:58 UTC