- From: Jason White <jasonw@ariel.ucs.unimelb.EDU.AU>
- Date: Fri, 30 Jan 1998 20:34:01 +1100 (AEDT)
- To: HTML Guidelines Working Group <w3c-wai-gl@w3.org>
On Wed, 28 Jan 1998, Liam Quinn wrote: > I think using HTML's CODE element inside the PRE element would be better > than reliance on classes in this case since CODE gives the structural > information to all early browsers. Authors could use the CLASS attribute > on CODE to indicate the kind of code, e.g., class="HTML" or class="Java". > Speech browsers could then process common kinds of code more > appropriately. JW:: Without re-reading the HTML specification on this point, I am under the impression that any markup inside the PRE element (prior to the end tag of PRE itself) is treated as part of the preformatted text rather than as markup. My memory may be wrong here, however. If I am right, then using the CLASS attribute of the PRE element to distinguish code from text in a natural language would appear to be the only feasible option.
Received on Friday, 30 January 1998 04:34:22 UTC