- From: Josh Sled <jsled@asynchronous.org>
- Date: Fri, 22 Jun 2007 09:43:46 -0400
- To: Thomas Pike <thomasp@opera.com>
- Cc: HTML Working Group <public-html@w3.org>
Received on Friday, 22 June 2007 13:44:38 UTC
Thomas Pike <thomasp@opera.com> writes:
> While the information may indeed be useful for such things, would it not
> better belong in the lang="" attribute?
>
> As far as I'm aware this is valid even now:
>
> <code lang="x-php">
> <?php echo "Hello world!" ?>
> </code>
@lang [1] is defined in terms of RFC3066, which explicitly excludes computer
languages [2]. As well, the requirements between 'lang' and 'xml:lang' are
annoying.
[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/section-global.html#the-lang
[2] http://tools.ietf.org/html/rfc3066#section-2.4
--
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo ${a}@${b}
Received on Friday, 22 June 2007 13:44:38 UTC