PDA

View Full Version : what are the difference b/w XML and HTML?



swapna8
04-04-2019, 09:09 AM
what are the difference b/w XML and HTML?

Kailash
04-04-2019, 11:51 PM
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.

thaichacha
04-08-2019, 11:51 PM
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.

shaili shah
04-02-2020, 03:23 AM
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.

skyztravel
04-02-2020, 07:28 AM
Thanks for sharing useful information for us.

GeethaN
04-02-2020, 07:31 AM
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.

RH-Calvin
04-02-2020, 10:21 AM
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.

vinodkumar
04-03-2020, 04:29 PM
xml help to provide info to search engine and html provide for human

Neo_5678
04-04-2020, 03:24 AM
XML tags are user-defined & HTML tags are predefined tags!

jayam
04-04-2020, 04:10 AM
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.

dombowkett
04-06-2020, 02:42 PM
Xml sitemap are used for search engine indexing while HTML sitemap for users.

Sherin
08-14-2020, 08:09 AM
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>