title: HTML5 code element - language class
body: <p>The HTML5 <code>&lt;code&gt;</code> element has an <a href="https://html.spec.whatwg.org/multipage/semantics.html#the-code-element" rel="nofollow noreferrer">optional class="language-" attribute</a> to define the language of the code fragment. An example from the spec:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;pre&gt;&lt;code class="language-pascal"&gt;var i: Integer;
  begin
     i := 1;
  end.&lt;/code&gt;&lt;/pre&gt;
  </code></pre>
  
  <p>Is there a list of the languages to be used?  Just thinking that otherwise there are likely to be multiple different spellings or interpretations of languages e.g. VB6 vs visual basic 6 etc.</p>