What is the difference between HTML and xHTML? - ProProfs Discuss
Topics-
Products +
     

What is the difference between HTML and XHTML?

Asked by H. Reyes, Last updated: Aug 08, 2019

+ AnswerRequest Answer
...

2 Answers

D. Ronald

D. RonaldWriter, Austin
Writer, Austin

Answered on Aug 08, 2019

The meanings of these two are different. XHTML stands for Extensible Hypertext Markup Language while HTML almost means the same but minus the first word. These are programming languages that programmers work with whenever they need to create different web pages and applications.

The meanings of these two are different. XHTML stands for Extensible Hypertext Markup Language
There are some programmers who prefer to work with XHTML because they feel that this is more responsive but there are also some people who may have issues with it because they find it too sensitive for their liking. Others would use HTML because this is something that they have used for a long time. They are already used to it and how they would use Javascript to make this work.

 Reply

C. Lopez

Driving down to Knowledge town

C. LopezChauffer, Chauffer, Watertown
Chauffer, Chauffer, Watertown

Answered on May 24, 2019

XHTML stands for Extensible Hypertext Markup Language and HTML is just Hypertext Markup Language. Both of these are types of programming languages. An XML syntax is used with XHTML, while a psuedo -SGML syntax is used with HTML. Content that requires namespaces will work with XHTML, but not with HTML.

XHTML stands for Extensible Hypertext Markup Language and HTML is just Hypertext Markup Language.
Another difference between the two is that Javascript is processed differently in XHTML than it is in HTML. XHTML is case sensitive, which affects some of the functions in Javascript. Despite its' sensitivity, XHTML is more expressive than HTML. An example is that XHTML allows arbitrary namespaces, while HTML doesn't.

 Reply

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.