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: Lee Kowalkowski <lee.kowalkowski@googlemail.com>
Date: Tue, 7 Aug 2007 15:50:37 +0100
Message-ID: <610592c90708070750j3b107ae0q98739bf3125d1d71@mail.gmail.com>
To: "HTML WG" <public-html@w3.org>

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.

-- 
Lee
Received on Tuesday, 7 August 2007 14:50:41 GMT

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