Re: keyword tag?

Dave Raggett (dsr@hplb.hpl.hp.com)
Wed, 3 May 95 10:44:16 EDT

> } HTML3 includes a generic CLASS attribute for this kind of thing.
> } Rather than continually changing the spec to add new tags - a bottomless
> } pit, you subclass existing HTML tags to make the distinctions you need
> } e.g. your example could be handled as:
> }
> } <dfn class="location.city">Hope</dfn>
> }
> } Subclassing HTML tags in this way allows you to carry on using your
> } current Web browser without having to take the hit on interoperability
> } from switching to a custom DTD plus downloading the DTD and style sheet.

> Sounds like just the ticket. Can the HTML3 style sheets specify styles
> for classes?

Yes for both DSSSL-Lite and H&kon Lie's proposal.

-- Dave Raggett <dsr@w3.org> url = http://www.hpl.hp.co.uk/people/dsr
Hewlett Packard Laboratories, Filton Road, | tel: +44 117 922 8046
Bristol BS12 6QZ, United Kingdom | fax: +44 117 922 8924