-
August 23rd, 2000, 06:05 PM
#1
xhtml vs xml
I'm confused, please help:
How exactly is xhtml different from xml? I mean what are the things which xml supports and xhtml doesn't? It is said that xhtml allows us to define our own tags so isn't xhtml better than xml since we can also use formatting tags as well as user defined tags and if yes why do we still need xml?
~ ks
-
August 24th, 2000, 01:57 AM
#2
Re: xhtml vs xml
XML is for data,
XHTML is for presentation, period.
XHTML is an XML representation of HTML 4.
It just defines a more strict HTML syntax. Writing XHTML documents is writing HTML documents that are well-formed in terms of XML.
For details, refer to the specs at http://www.w3c.org
-
December 21st, 2009, 09:50 PM
#3
Re: xhtml vs xml
HTML is a markup language used for creation of web pages across different platforms and systems.
XML is an extensible markup language that was created to keep the flexibility and strength of HTML while minimizing most of the complexity.
XHTML combines the flexibility and strength of HTML and extensibility of XML.
-----------------------------------
http://www.examplesof.com/IT/xhtml.html
-
January 12th, 2010, 05:44 PM
#4
Re: xhtml vs xml
Originally Posted by perceval90
HTML is a markup language used for creation of web pages across different platforms and systems.
XML is an extensible markup language that was created to keep the flexibility and strength of HTML while minimizing most of the complexity.
XHTML combines the flexibility and strength of HTML and extensibility of XML.
-----------------------------------
http://www.examplesof.com/IT/xhtml.html
you could describe is XML is to XHTML as SGML is to HTML
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|