Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
4Activity
0 of .
Results for:
No results containing your search query
P. 1
HTML vs XML

HTML vs XML

Ratings: (0)|Views: 54|Likes:
Published by Zarnigar Altaf

More info:

Published by: Zarnigar Altaf on Oct 08, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

12/11/2012

pdf

text

original

 
HTML vs XML1
XML In Comparison With HTML
General Comparison:
HTML XML
HTML is an abbreviation for HyperTextMarkup Language.stands for eXtensible Markup LanguageHTML was designed to display data with focuson how data looks.While XML was designed to be a software andhardware independent tool used to transportand store data, with focus on what data is.HTML is a markup language itself. While XML provides a framework for definingmarkup languages.HTML is a presentation language. While XML is neither a programminglanguage nor a presentation language.HTML is case insensitive. While XML is case sensitive.HTML is used for designing a web-page to berendered on the client side.While XML is used basically to transport databetween the application and the database.HTML is about displaying data, hence static. But XML is about carrying information, hencedynamic.HTML does not preserve white space While XML does.
Tag Comparison:
HTML XML
HTML has its own predefined tags While what makes XML flexible is that customtags can be defined and the tags are inventedby the author of the XML document.HTML is not strict for some specific tags, if the user does not use the closing tags.Like <p> and <br>.But XML makes it mandatory for the user theclose each tag that has been used.Like <p> this is a paragraph</p>HTML tags are case insensitive. XML tags are case sensitive. The tag <Letter>is different from the tag <letter>.<Message>This is incorrect</message><message>This is correct</message>In HTML, you might see improperly nestedelements:<b><i>This text is bold and italic</b></i>In XML, all elements must be properly nestedwithin each other:<b><i>This text is bold and italic</i></b>

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->