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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:39:53 GMT