HTML and XML

Hi,
What are advantages and disadvantages of HTML ?
Why HTML is more popular than XML ?
To user , what is the difference between of HMTL and XML ?
hahahahahahaAsked:
Who is Participating?
 
COBOLdinosaurCommented:
Well that is only the beginning of the story. XHTML1 and XHTML1.1 have been a failure, because the standards are "pie-in-the-sky" based and not implementable.  The solution does not come until we get to a final recommendation of XHTML2 which is current still in this draft form: http://www.w3.org/TR/2004/WD-xhtml2-20040722/

As it stands with a few issues still ramianing to be resolved, that standard rejuvenates HTML, and truly merges it with XML, so the comparison of HTML and XML becomes moot, because the fusion in XHTML2 Create the first really change in browser oriented markup since HTML was first defined as an SGML based language.  

In any case a comparison of XML and HTML is irrellevant.  HTML is a straight markup language.  XML is not basic markup.  It is as meta language for genration markup notation methods.  It is like comparing bicycles and automobiles.  The have a basic transportation attribute, but much different purposes and roles to play.

Cd&
0
 
Eternal_StudentCommented:
This might shed some light on the subject for you:

http://www.sun.com/980602/xml/

0
 
InteractiveMindCommented:
On top of what's been said: Things will make a lot more sense if you take these tutorials:

   HTML   ~> http://www.w3schools.com/html/
   XML     ~> http://www.w3schools.com/xml/
   XHTML ~> http://www.w3schools.com/xhtml/

Regards;
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
DreamMasterCommented:
Like Cd& already stated, XML and HTML should not be compared. Eventhough they may look slightly similar they are in fact completely different.

XML for example can be used as a database, that anyone can open that has a program like notepad or whatever you like to use. It is much stronger than HTML, which was mainly meant for layout whereas XML is layout independant.

Regards,
Max.
0
 
BobSiemensCommented:
XML is used for storing text information (with context).  It looks a lot like HTML (as a matter of fact, HTML *is* basically XML).

The purpose of HTML is to tell your browser what to display.

The purpose of XML is just generic data storage

The following is HTML and XML:
<HTML>
  <Head>
    <TITLE>Hi Mom</TITLE>
  </Head>
  <Body>Hello world</Body>
</HTML>

But this is XML and not HTML:

<Person>
  <Name>
     <First>Mike</First>    
     <Last>Mike</Last>
  </Name>
  <Age>22</Age>
</Person>

Note how the context of the data is listed too.

There are also tools (like XSL) to translate XML data into other things like HTML.  It's all very flexible.  But XML wasn't really intended to be shown directly to users via a browser.
0
 
COBOLdinosaurCommented:
What kind of a grade it is that?  C? Did I do something to insult you that you think it is necessary to disrespect me with that grade?

To begin with you got a collaborative response an the points hould have been split.  Second of all the C is toatally out of line with the grading guidelines. See:
http://www.experts-exchange.com/help.jsp#hi55
And
http://www.experts-exchange.com/help.jsp#hi73

Finally the guidelines call for a comment that explains the grade when it is inferior.

From the look of your grading history you have about reached the point where you are going to find experts are not willing to help you or comment on your questions.  

If you fail to come back to the question and resolve things I will assume you do not wish me to comment on your questions in the future, however I will ask for a review of the grade.

Cd&
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.