[whatwg] <code> attributes

Kristof Zelechovski giecrilj at stegny.2a.pl
Tue Apr 28 12:30:12 PDT 2009


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





More information about the whatwg mailing list