What is The Difference Between XHTML And SGML, Programming Languages
XHTML is a Logic-based Programming Language, while SGML is a Markup Language
What are Logic-based Programming Languages
Logic programming is a type of programming paradigm which is largely based on formal logic. Any program written in a logic programming language is a set of sentences in logical form, expressing facts and rules about some problem domain. (Wikipedia)
What are Markup Languages
A markup language is an artificial language that uses annotations to text that define how the text is to be displayed.
While XHTML is a Logic-based Programming Language, and SGML is a Markup Language
Let us now look at the difference between the two:
What is XHTML Programming Language – A brief synopsis
It is a markup language that is similar to HTML and follows the XML syntax. It is midway between HTML and XML. XHTML documents allow automated processing of data.
What is SGML Programming Language – A brief synopsis
Standardized General Markup Language (SGML) has descended from IBM’s Generalized Markup Language. It is an ISO standard metalanguage that can define markup languages for documents. It was designed with the intent of sharing machine-readable documents of large projects that had to be retained for long years.
Sources
A Complete List of Computer Programming Languages
Other Posts