W3C home > Mailing lists > Public > public-html@w3.org > August 2007

Re: (code, sample output and keyboard/device input <code>, <samp>, <kybd>) part of my review of 3.12 Phrase elements

From: Olivier GENDRIN <olivier.gendrin@gmail.com>
Date: Wed, 22 Aug 2007 15:44:24 +0200
Message-ID: <e2c275120708220644p1d0a9b74i79aaf3513218fbda@mail.gmail.com>
To: "HTML WG" <public-html@w3.org>

On 8/7/07, Lee Kowalkowski <lee.kowalkowski@googlemail.com> wrote:
>
> On 20/07/07, Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote:
> > Some pages use javascript to add the highlighting.  For example:
> >
> > This uses <pre class="javascript">
> > http://dean.edwards.name/weblog/2007/04/packer3/
> >
> > This uses <pre><code class="javascript">
> > http://livepipe.net/projects/event_behavior/
>
> I was just wondering if the lang attribute could be extended for this
> purpose, especially on the code element.

And why not <code type="text/javascript"> ou <code
type="application/x-javascript"> ?

-- 
Olivier G.
http://www.lespacedunmatin.info/blog/
Received on Wednesday, 22 August 2007 13:44:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:04 GMT