Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Html Editors Webedit > Re: HTML vs XML
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 15 Topic 182 of 209
Post > Topic >>

Re: HTML vs XML

by Toby Inkster <usenet200605@[EMAIL PROTECTED] > May 19, 2006 at 08:37 AM

Fred wrote:

> Just about the time I have started to feel comfortable programming in
HTML,
> this XML comes along.

Firstly, creating an HTML do***ent is not "programming" any more than
creating a PDF do***ent or a GIF image. Secondly, XML came along more than
eight years ago.

> Would some kind soul pls post the difference between the two and why one
> is better than the other.

Neither is "better" -- it's like comparing apples with oranges.

HTML is a language for marking up do***ents -- describing their structure.
For example:

	<h1>This is a heading.</h1>
	<p>This is a paragraph. <em>This is im****tant.</em></p>
	<h2>This is a sunheading.</h2>
	<img src="this_is_an_image" alt="this is some alternative text">
	<!-- and so on -->

XML is not a language for marking up do***ents -- XML is a framework for
creating *other* markup languages. 

For example, using XML, people have created:

	* SVG - an image format
	* RSS - a format suitable for syndicating news stories
	* MathML - a format for describing mathematical symbols and formulae
	* SMIL - a format for describing multimedia presentations
	* XHTML - a language similar to HTML, but obeying XML rules

So in summary:

	* HTML is a language for creating do***ents
	* XML is a technology for creating languages

-- 
Toby A Inkster BSc (Hons) ARCS
Contact Me  ~ http://tobyinkster.co.uk/contact
 




 15 Posts in Topic:
HTML vs XML
"Fred" <test  2006-05-19 06:57:47 
Re: HTML vs XML
"Jukka K. Korpela&qu  2006-05-19 10:12:40 
Re: HTML vs XML
Toby Inkster <usenet20  2006-05-19 08:37:57 
Re: HTML vs XML
"Fred" <test  2006-05-22 23:35:44 
Re: HTML vs XML
"Travis Newbury"  2006-05-19 02:40:32 
Re: HTML vs XML
Neredbojias <http://ww  2006-05-19 18:25:46 
Re: HTML vs XML
Harlan Messinger <hmes  2006-05-20 06:31:11 
Re: HTML vs XML
Martin Edwards <big_ma  2006-05-20 14:47:51 
Re: HTML vs XML
Neredbojias <http://ww  2006-05-20 10:30:25 
Re: HTML vs XML
"Jonathan N. Little&  2006-05-20 11:32:49 
Re: HTML vs XML
Neredbojias <http://ww  2006-05-20 21:00:39 
Re: HTML vs XML
"Andy Dingley <di  2006-05-19 04:10:23 
Re: HTML vs XML
David Segall <david@[E  2006-05-19 15:15:31 
Re: HTML vs XML
David <youcantoo@[EMAI  2006-05-19 08:37:50 
Re: HTML vs XML
"Fred" <test  2006-05-22 23:35:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 14:49:13 CDT 2008.