W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2015

Re: [whatwg] Using @type on <code> to specify the computer language

From: Andrea Rendine <master.skywalker.88@gmail.com>
Date: Sat, 9 May 2015 13:26:50 +0200
Message-ID: <CAGxST9=YKn4-P+gGeWZi7tmejE-mwnJFtdH3hy=0Wqs2BR-+XA@mail.gmail.com>
To: Taylor Hunt <taylorcharleshunt@gmail.com>
Cc: WHATWG List <whatwg@whatwg.org>
Long ago I proposed an attribute for code language because I was
unhappy with all the class="language-whatever" thing. I proposed @lang
because I thought there could be an issue with speech synthesis and
languages, but it was effectively pointed out that such attribute does
not fit this case.

+1 for @type, it is widely consistent to use that for MIME types. But
I guess that it will bring nowhere (as usual) unless vendors show any
interest for this issue.
Received on Saturday, 9 May 2015 11:27:17 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:31 UTC