language

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.

Remarks

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>

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