What is The Difference Between HTML And XHTML, Programming Languages
HTML is a Markup Language, while XHTML is a Logic-based Programming Language
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.
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)
While HTML is a Markup Language, and XHTML is a Logic-based Programming Language
Let us now look at the difference between the two:
What is HTML Programming Language – A brief synopsis
Hypertext Markup Language, abbreviated as HTML, is the most prominent markup language that is used for web pages. It is written in the form of HTML tags that are surrounded by angular brackets. HTML tags describe the appearance of the text in a document and can be embedded into certain other code to affect the web browser behavior. HTML uses the SGML default syntax.
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.
Sources
A Complete List of Computer Programming Languages
Other Posts