General-purpose markup language

A general-purpose markup language is a markup language that is used for more than one purpose or situation.

Other, more specialized domain-specific markup languages are often based upon these languages.

For example, HTML 4.1 and earlier are domain-specific markup languages (for webpages), and are based on the syntax of SGML, which is a general-purpose markup language.

Notable general-purpose markup languages include: