Re: Computer languages in langage tag

On Wed, 14 Apr 2010, Mariusz GliwiĆ~Dski wrote:
>
> Seems like we don't understand each other (in both directions). The 
> basic question is why do we have separate <code> and <lang> elements? 
> Hope it'll let You proceed reading my previous e-mail.

HTML5 suggests using <code class="language-..."> to indicate the language 
of the code, with lang="" reserved for the human language.

See this for more details:
   http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-code-element

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 14 April 2010 19:17:25 UTC