Re: Client-side highlighting; tag proposal

Joe English ([email protected])
Sun, 12 Mar 1995 19:20:40 +0500


Gavin Nicol <[email protected]> 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

[email protected]