English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

where do we use these two?
wat is the advantages?

2006-08-10 00:15:29 · 6 answers · asked by Anonymous in Computers & Internet Software

6 answers

An XML file is a data file with a description of the data. The layout is stored in another file.
HTML is a presentation file which combine data and presentation.

2006-08-10 00:21:15 · answer #1 · answered by roy_s_jones 6 · 0 0

HTML: HyperText Markup Language
What HTML is a way to 'markup' text to display it in another way. For example, if you've ever taken document Editing classes you most likely had a class that delt with this. Where you needed to put in a symbol that told a typist that a new paragraph was needed 'here' on the page, or that this word was mis-spelled; this is HTML. It's those 'symbols' that tell the browser 'ok, this word needs to be bold. and this one needs to be underlined' etc, and it uses 'tags' to do this. For example, if you wanted a word to be bold you would use the 'bold' tag to say
"this WORD is bold." the are the tags.

Now XML (eXtensible markup language)
is a way to make up your OWN tags. XML is a text file that has information stored in it in a logical manner so you could have something like

BooBoo
Kitty


Again, they are tags.. but you make then up yourself. And then you can parse(read) the XML file from server side scripting in order to pull the data out of the XML file for use. You can also think of an XML file as a flat file database.

2006-08-10 07:24:48 · answer #2 · answered by rrrevils 6 · 0 0

XML (Extensible Markup Language) is a W3C initiative that allows information and services to be encoded with meaningful structure and semantics that computers and humans can understand. XML is great for information exchange, and can easily be extended to include user-specified and industry-specified tags.

Hyper Text Mark-Up Language (HTML), a subset of Standard Generalized Mark-Up Language (SGML) for electronic publishing, the specific standard used for the World Wide Web.

XML is the way you present DATA!! similarly as HTML is the way you present Information

2006-08-10 07:22:30 · answer #3 · answered by programmer 4 · 0 0

HTML (HyperText Markup Language) was the original language created for developing websites. But it is entirely text based and does not use any of the graphic features of Windows (because it predated Windows - started on mainframe computers). So it was updated to XML (eXtended Markup Language). XML includes all the features of HTML, but adds more capabilities. Before trying to learn XML, you would want to know HTML.

2006-08-10 07:20:49 · answer #4 · answered by dewcoons 7 · 0 0

Don't you know how to search? You can find a ton of info on the net.....and I mean a ton!


For starters, your question is like asking what the difference is between a car and asphalt. They're not really in the same category for comparison. In fact, both HTML and XML are often used together.

Here's a link for you to read:
http://en.wikipedia.org/wiki/Xml

2006-08-10 07:22:45 · answer #5 · answered by SirCharles 6 · 0 0

Extensible Markup Language (XML) is descriptively identified as "an extremely simple dialect of SGML" the goal of which "is to enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML," for which reason "XML has been designed for ease of implementation, and for interoperability with both SGML and HTML." XML is being "developed by a W3C Generic SGML Editorial Review Board formed under the auspices of the W3 Consortium in 1996 and chaired by Jon Bosak of Sun Microsystems, with the very active participation of a Generic SGML Working Group also organized by the W3

HTML:
--------
On April 4, 1998, An announcement was posted from the editors of ISO-HTML for the availability of ISO/IEC CD 15445 HTML, in HTML format. Roger Price and David Abrahamson have also produced a User's Guide to ISO/IEC 15445:1998 HyperText Markup Language (HTML). According to the Introduction in this guide: "The ISO-HTML language is an application of the International Standard ISO/IEC 8879 -- Standard Generalized Markup Language (SGML). . . The International Standard was developed in an effort to ensure that it will remain possible for an author to produce simple hypertext for the web and be confident that a conforming browser will be able to render the document faithfully. . . The language defined by the International Standard is a refinement of the W3C Recommendation for HTML 4.0 and provides additional specifications for the use of that document. All documents conforming to the International Standard also conform to the W3C Recommendation for HTML 4.0. ISO-HTML omits all deprecated features of the language, features whose role is purely cosmetic, and features which are still unstable or immature. This has been done in preparation for the expected wide adoption of style sheets by authors and browser manufacturers. Certain optional facilities such as markup omission of the document and other major elements have been removed to produce more robust texts in keeping with recognized good SGML practice. This does not reduce in any way the expressive power of the language. The conformance statements in the International Standard distinguish between a conforming system and a validating system. Conforming systems behave correctly when processing conforming documents, but are not required to handle errors. Validating systems are required to identify all SGML and ISO-HTML errors, and must be able to certify that a document is valid ISO-HTML. Commercial browsers are usually conforming systems, whereas authoring tools check for validity."

2006-08-10 07:22:15 · answer #6 · answered by Dexter 1 · 0 0

fedest.com, questions and answers