Code Language

Programming language in which this code is written, for example:
  • javascript”, for code written in “Javascript 3.0” (Note: The “3.0” can be recorded in the @language-version attribute.); or
  • dtd” for an XML DTD fragment.


This attribute does not record the name of a natural language, such as French. The attribute @xml:lang records natural languages.

Used on Element: <code>

Text, numbers, or special charactersThe lower case name of the programming or scripting language
RestrictionThis is an optional attribute; there is no default.