.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson
Eminent IT
Sandeep Singh

Home >> Interview Question >> Others >> Post New Question Subscribe to Interview Questions

What are the main difference between HTML and XML?

Posted By :Vinodh     Posted Date :October 10, 2011    Points :40   Category :Others 
HTML is for presenting the data , whereas XML is used to transfer data between applications and databases.

HTML has data ,whereas XML describes the data.
HTML can include video, audio,pictures, etc.. whereas XML doesnt.

You can also find related Interview Question to What are the main difference between HTML and XML?  below: 

Difference Between GET and POST methods in HTML

Difference Between GET and POST methods

1) Data is appended to the URL.
2) Data is not secret.
3) It is a single call system
4) Maximum data that can be sent is 256.
5) Data transmission is faster
6) This is the default method for many browsers

1) Data is appended to the URL.
2) Data is Secret
3) It is a two call system.
4) There is no Limit on the amount of data.That is characters any amount of data can be sent.
5) Data transmission is comparatively slow.
6) No default and should be Explicitly specified. (More...)

What is difference between xml and html?

XMl describe the data or we can say its like a database which get the data and helps in fetching the data on the other side HTML is use only for displayng the data so we can say HTML is static information displayer (More...)

What is the Main Difference between ASP and ASP.NET?

ASP Contains Scripts which are not complied where as in asp.net the code is compiled (More...)

Main Difference between Method and function?

Method which tied to a class where as function need not to be. In OOPS we can say there is no functions concept because all the method is tied to a class.

Function is available in procedural language, Scripting language that why we say JavaScript function etc. (More...)

what is the main difference between delegate and an event in c#?

Delegates and Events Both are related.

Dalegete is a function pointer which can able to store the address of any function with same prototype.

Event is a function handler which can handles or run the functions in same prototype of its delegate.

For handling events delegate is used. (More...)

What is the main difference between DataSet.Clone() and DataSet.Copy() ?


DataSet.Clone() would copy only the schema of the DataSet object and it would return the DataSet object that has same struture that the previous dataset object which includes all the relations, constraints and schemas as well. This will not copy the data from the existing one to new one.

The existing Dataset ---

private DataSet CreateMyClone(DataSet myCloneDataSet)


DataSet exampleCloneDS;

exampleCloneDS = myCloneDataSet.Clone();

return exampleCloneDS;


DataSet.Copy() will copy complete code as well as the structure of the existing DataSet object. (More...)

What is the difference between XML and HTML?Is XML case sensitive?

XML describes data while HTML describes how the data should be displayed.HTML is about displaying information while XML is about describing information. XML can be used to store the data.

XML is case sensitive (More...)

What is the difference between inner HTML and append() in JavaScript?

Inner HTML is not standard, and its a String. The DOM is not, and although inner HTML is faster and less verbose, its better to use the DOM methods like append Child(), first Child.node Value, etc to alter inner HTML content. (More...)

Difference between ASP.Net Table and HTML Table?

I think,
ASP.Net Table:
Horizontal -align is supported
Text Blink is not supported
HTML Table:
Horizontal -align is not supported
Text Blink is supported

These are the Difference between ASP.Net Table and HTML Table.

Difference between XML and HTML?

XML : designed to Transport and Store Data.
HTMl: designed to Display Data.
XML : Tages are not Predefined .Defined your Own Tags
HTMl: Tags are predefined. (More...)

What is the main difference between using SPListItem.Update() and SPListItem.SystemUpdate()?

Using SystemUpdate() will not create a new version and will also retain timestamps whereas SPListItem.Update() create a new version. (More...)

What is the difference between HTML DIV and SPAN tags?

1) DIV: It is block-line and used to group larger chunks of HTML code.

SPAN: It is in-line and usually used for a small chunk of HTML code, inside a line.

2) DIV: It, itself, inserts a line break Or CR(Carriage Returns), at the starting and ending point of it.

SPAN: It does not insert any kind of line break Or CR(Carriage Returns), at the starting and/or ending point of it.

3) DIV: It has most important attributes, like: "style", "class" and "id".

SPAN: It does not have any required attributes, but the three, that are the most useful, are the same as for the DIV element, like: "style", "class" and "id".

4) DIV: Paragraph elements(

) can be put inside a DIV, but DIV can't be put inside the Paragraph elements.

SPAN: Paragraph elements(

) can't be put inside a SPAN, but SPAN can be put inside the Paragraph elements. (More...)

What is the difference between html and xhtml?

HTML with predefined guidelines for standarization, is called XHTML. (More...)

what is main difference between IIS and ASP.Net development server(Cassini)?

IIS does not lock the page while it is running the page. But Cassini lock the page
on the Visual Studio, while it is running the same page.

IIS is a service and hence it is required to register an user with the Operating System (Windows). Since cassini
is an application, it does not reqiure any user registration with the Operating System(Windows). (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend