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

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 UTC