On the basis of these two languages was later SGML ( Standard Generalized Markup Language ) was created later, which in fact is not (one) language but a meta-language , ie. standard to define languages.
A little different way was taken by the TeX markup language of Donald Knuth, 70s and 0s, describing how a typesetting system should place text in a printed document. Frequently, a system of macros LaTeX (Leslie Lamport) is used instead, which adds descriptive / declarative character to TeX (for example, characterized the logical structure of the document).