Re: Client-side highlighting; tag proposal

Gavin Nicol <gtn@ebt.com> wrote:

> The functionality is needed very much. Perhaps we could have something
> like:
> 
> <MARK TYPE=HIGHLIGHT START=123 END=333>
> 
> Where TYPE would indicate the role, and START and END represent word
> offsets in the document, though this might well be more complicated
> to handle than paired tags (though safer in terms of content model).

That is exactly what's in the latest HTML 3 draft,
(except TYPE is named CLASS).  START is an ID attribute,
and END is an IDREF.   MARK elements must occur in pairs.

> Ideas? The above does not feel good to me, and neither do PI's or
> paired tags.

What does not feel good about it?  I think it's a very
good approach.

--Joe English

  jenglish@crl.com

Received on Sunday, 12 March 1995 19:07:01 UTC