What is The Difference Between XHTML And PHP, Programming Languages
XHTML is a Logic-based Programming Language, while PHP is a Scripting 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 Scripting Languages
Scripting languages are programming languages that control an application. Scripts can execute independent of any other application. They are mostly embedded in the application that they control and are used to automate frequently executed tasks like communicating with external programs.
While XHTML is a Logic-based Programming Language, and PHP is a Scripting 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 PHP Programming Language – A brief synopsis
PHP is one of the very popularly used general purpose scripting languages. It is developed for creating dynamic web pages and supports a command line interface capability.
Sources
A Complete List of Computer Programming Languages
Other Posts