Posted on 2005-04-19
Last Modified: 2013-11-19
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 ?
Question by:hahahahahaha
    LVL 18

    Expert Comment

    This might shed some light on the subject for you:

    LVL 53

    Accepted Solution

    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:

    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.

    LVL 25

    Expert Comment

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

       HTML   ~>
       XML     ~>
       XHTML ~>

    LVL 19

    Expert Comment

    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.

    LVL 10

    Expert Comment

    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:
        <TITLE>Hi Mom</TITLE>
      <Body>Hello world</Body>

    But this is XML and not HTML:


    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.
    LVL 53

    Expert Comment

    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:

    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.


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL ( several years ago, it seemed like now was a good time to updat…
    Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
    In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now