HTML vs XML?
A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: HTML vs XML?

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    23

    HTML vs XML?

    Hwllo Frnds,


    Plz define difference between HTML vs XML in simple language......



    Thank u,

  2. #2
    Junior Member
    Join Date
    Mar 2013
    Posts
    7
    Hello Guys according to that topic i think that HTML is a markup language used to quickly show some way of outcome.The basic purpose of this is to make the static webs.On the other hand XML is a very tight markup language which is not usually used to make content.Its main use is as a tool for developing other markup languages that make the required content.Thanks a lot!!

  3. #3
    hello..
    There are many difference in between HTML and XML but I mention two points which can separate them. Main difference between HTML and XML is that HTML describes presentation and XML describes content. Second difference is that an HTML document rendered in a web browser is human readable. XML is aimed toward being both human and machine readable.

  4. #4
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    741
    the answers above could work for a test. if you ask for yourself, html has fixed tag names (so that browser can understand them) and exceptions (like some tags that need not to be closed) that makes it invalid xml almost always. xml, on the other hand, can have any tag names you want, but must adhere to strict rules (or else xml parsers will refuse to parse it).
    who is this? a word of friendly advice: FFS stop using AS2

  5. #5
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    741
    p.s. whoever thinks xml is human readable, burn in hell
    who is this? a word of friendly advice: FFS stop using AS2

  6. #6
    Junior Member
    Join Date
    Jan 2014
    Posts
    7
    Hi buddy,

    HTML is written using HTML elements, which consist of tags, primarily and opening tag and a closing tag.The XML is well-formed and has strict set of rules. The most salient difference between HTML and XML is that HTML describes presentation and XML describes content. An HTML document rendered in a web browser is human readable. XML is aimed toward being both human and machine readable.

  7. #7
    Junior Member
    Join Date
    Dec 2006
    Posts
    5
    There is a lot of confusion on the responses to this question. Let me see if I can make it a little clearer.

    XML and HTML were developed with different purposes in mind.
    XML was developed to describe data and with a focus on what the data represents.
    HTML was developed to display data with a focus on the way that the data looks.
    HTML is about displaying data, XML is about describing the information the XML file holds.
    XML is extensible, in other words, you can create your own tag names.
    HTML has a defined set of tag names, allbeit they are changing quite frequently, they are still defined.

    XML was developed to compliment the HTML language. It is important that you understand that XML is not or never was intended as a substitute for HTML. If XML follows that original path of the developed intention of the language, then in the future we will see, XML will be the main language of the data structure of the web page and HTML will be responsible for displaying the page.

    I hope that makes it a little clearer.
    Mike
    Web Development Training
    http://www.ontargethtml5.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center