what are the difference b/w XML and HTML?
what are the difference b/w XML and HTML?
1. HTML tags are predefined tags where as XML tags are user defined tags.
2. HTML tags are limited number of tags where as XML tags are extensible.
3. HTML tags are case insensitive where as XML tags are sensitive.
4. HTML tags are meant for displaying the data but not for describing the data where as XML tags are meant for describing the data.
5. HTML focuses on how data looks where as XML focuses on what data is.
XML or Extensible Markup Language is primarily created to facilitate the functionality of the search engines.
An HTML comprises of one single HTML page that bears the links of all the web pages of any specific website. This sitemap holds the foundation of all web pages of any website.
HTML is used to create web-page and web-application.
HTML is markup language.
By HTML we can create static page. It is used to displaying data not to transport data.
HTML does not preserve white spaces.
In HTML, closing tag are not necessary.
XML is also used to create web-page and web-application but it creates dynamic web-page.
XML is used to transport data not to display.
XML makes the documents transportable across applications.
XML preserves the white spaces.
In XML, closing tags are necessary.
In XML you can exchange data quickly between different platform.
Thanks for sharing useful information for us.
There are many differences between HTML (Hyper Text Markup Language) and XML (eXtensible Markup Language). ... HTML is used to display data and focuses on how data looks. XML is a software and hardware independent tool used to transport and store data. It focuses on what data is.
HTML sitemap is a plain text sitemap used by browsers to know and surf through your website pages. XML sitemap is a coded sitemap used to submit in webmaster tool to help spiders crawl them and index the webpages in search engines.
█ Cheap VPS | $1 VPS Hosting
█ Windows VPS Hosting | Windows with Remote Desktop
█ Cheap Dedicated Server | Free IPMI Setup
xml help to provide info to search engine and html provide for human
XML tags are user-defined & HTML tags are predefined tags!
Get your 1st stub free*
Free Check Stub Maker With Calculator | Pay Stub Generator | Free Paystub Generator | Online Pay Stub | Free Pay Stub Generator | Free Check Stub Maker | Paystub Maker | Create Pay Stub | Create Check Stubs | Create pay stubs | Paycheck stubs | Paycheck Stub online | Create a Pay Stub | Free Pay Stub Template | Check Stub Maker | Pay Stub Maker |paycheck stub maker
There are many differences between HTML (Hyper Text Markup Language) and XML (eXtensible Markup Language). ... HTML is used to display data and focuses on how data looks. XML is a software and hardware independent tool used to transport and store data. It focuses on what data is.
Xml sitemap are used for search engine indexing while HTML sitemap for users.
HTML
HTML is a case sensitive, predefined markup language.
It is used for presentation of the Data.
HTML does not support namespaces. Naming collisions are avoided using a prefix in an object member name or by nesting objects.
You don’t need an extra application code to parse text.
Example:
<!DOCTYPE html>
<html>
<head>
<title>Welcome to Edureka</title>
</head>
<body>
<h1>Web Development</h1>
<p>HTML vs XML</p>
</body>
</html>
XML
XML is a case sensitive framework for markup languages.
It is used for transferring the Data.
XML supports namespaces which help you remove the risk of name collisions while combining with other documents.
You need an XML DOM implementation and application code to map text back into JavaScript objects.
Example:
<?xml version = "1.0"?>
<contactinfo>
<address category = "office">
<name>eLearning</name>
<Office>Edureka</Office>
<empid>112340</empid>
</address>
</contactinfo>
|
Bookmarks