answersLogoWhite

0


Best Answer

HTML and XHTML use a similar language syntax; tags, elements and everything. If you know HTML, you know messy XHTML: XHTML is a "clean" HTML. * Tags can be written in any case (uppercase or lowercase). * Some tags do not need to be closed. * HTML is parsed by systems based off of the Standard Generalized Markup Language (SGML). * HTML provides less accurate reading, and needs more time to read and manipulate data. * Some parsers cannot even manipulate HTML data, which is a big problem with more finicky devices (like mobile devices). * Tags must be written in lowercase. * All tags must be closed. * Tags must be properly nested -- no overlapping elements. * XHTML is parsed by XML parsers. * XHTML provides more accurate reading, and requires less time to read and manipuate data. * If a device can parse XML (which many modern devices can), the device can manipulate XHTML data to their needs (for example, to fit a website into the screen of a mobile phone).

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

as far as i know there is very little difference between the two.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How are HTML and XHTML similar and different?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is xHTML is the successor to HTML?

No, XHTML is a parallel language to HTML. XHTML is a XML language definition where tags have similar meanings to corresponding HTML tags. A crude analogy would be that XHTML and HTML are half-brothers; Lot's of similarities but also distinct differences. The successor of HTML is HTML5, the successor of XHMTL is XHTML5.


Html and xHTML?

HTML and XHTML are two different languages used for web and application design. XHTML was a popular choice from about the year 2000, to 2011. HTML 5 is intended to replace XHTML. XHTML followed the basic rules of XML-based languages. HTML (both prior and since) do not.


Is html a replacement for xhtml?

No. HTML existed before XHTML. XHTML combines XML and HTML, so it is an advancement on HTML.


What XHTML is the aberration for?

XHTML is an aberration for Extensive Hyper Text Markup Language. It is the tighter form of HTML but is similar.


What is the full form xhtml?

The full form of XHTML is Extensive Hyper Text Markup Language. It is a form of HTML only and is similar.


What extension do you assign XHTML documents?

XHTML documents use the same HTML extension. They are similar just are more strict than the former.


What are the different kinds of HTML?

Some different technologies that are built on top of HTML are DHTML - Dynamic HTML, XHTML - Extended HTML, XML - Extended Markup Language etc.


What are the differences between htmlxmlsgml and xhtml?

basikly xhtml is a mics of html and xml. the difference in html and xhtml is that xhtml is a more strict on the syntax and defined as a xml document. xml is a self defined language... in short it is a strikter html in xml format...


What language was used to create XHTML?

HTML is in XHTML, some argue that XHTML is it's own markup


Is xHTML the same as HTML strict and what is a HTML frameset declaration?

Yes, XHTML is just the stricter form of HTML. It means that you have to close all the tags that you have opened.


XHTML is the combination of what?

XHTML is a combination of largely HTML and a small portion of XML.


What are some tips for writing XHTML?

# Write up multiple XHTML documents, attempting to not make any mistakes. # Write multiple HTML documents, and transform them into XHTML documents. # Browse forums or other online sources for HTML documents (or incorrect XHTML documents) that need help, markup-wise. # Take on projects involving XHTML coding.