W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2009

[whatwg] <code> attributes

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Tue, 28 Apr 2009 21:30:12 +0200
Message-ID: <3ACB05FAFBCA49AF8E9E6F23AA554759@POCZTOWIEC>
A CODE element can belong to a class related to the programming language,
e.g.

 * CODE class="HTML"
 * CODE class="JavaScript"
 * CODE class="Python"

A future version of CSS can provide a property for syntax coloring.

IMHO,
Chris
Received on Tuesday, 28 April 2009 12:30:12 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:11 UTC