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

Top 5 Contributors of the Month
Gaurav Pal

Home >> Interview Question >> ASP.Net >> Post New Question Subscribe to Interview Questions

What is the difference between width="100" and width="100%" in HTML?

Posted By :Subhransu Sekhar Jena     Posted Date :September 29, 2014    Points :40   Category :ASP.Net 
"100"takes only 100px where as "100%" takes available space.

You can also find related Interview Question to What is the difference between width="100" and width="100%" in HTML?  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 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 are the main difference between HTML and XML?

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. (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 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...)

Difference Between Delete and Truncate

.Delete table is a logged operation, so the deletion of each row gets logged in the transaction log, which makes it slow.

. Truncate table also deletes all the rows in a table, but it won't log the deletion of each row, instead it logs the de-allocation of the data pages of the table, which makes it faster. Of course, truncate table cannot be rolled back.

. Truncate table is functionally identical to delete statement with no "where clause" both remove all rows in the table. But truncate table is faster and uses fewer system and transaction log resources than delete.

. Truncate table removes all rows from a table, but the table structure and its columns, constraints, indexes etc., remains as it is.

. In truncate table the counter used by an identity column for new rows is reset to the seed for the column.

. If you want to retain the identity counter, use delete statement instead.

. If you want to remove table definition and its data, use the drop table statement.

. You cannot use truncate table on a table referenced by a foreign key constraint; instead, use delete statement without a where clause. Because truncate table is not logged, it cannot activate a trigger.

. Truncate table may not be used on tables participating in an indexed view. (More...)

Difference between assembly manifest & metadata?

assembly manifest - An integral part of every assembly that renders the assembly self-describing. The assembly manifest contains the assembly's metadata. The manifest establishes the assembly identity, specifies the files that make up the assembly implementation, specifies the types and resources that make up the assembly, itemizes the compile-time dependencies on other assemblies, and specifies the set of permissions required for the assembly to run properly. This information is used at run time to resolve references, enforce version binding policy, and validate the integrity of loaded assemblies. The self-describing nature of assemblies also helps makes zero-impact install and XCOPY deployment feasible.

metadata - Information that describes every element managed by the common language runtime: an assembly, loadable file, type, method, and so on. This can include information required for debugging and garbage collection, as well as security attributes, marshaling data, extended class and member definitions, version binding, and other information required by the runtime. (More...)

What is the difference between ref & out parameters?

An argument passed to a ref parameter must first be initialized. Compare this to an out parameter, whose argument does not have to be explicitly initialized before being passed to an out parameter. (More...)

What is the difference between a Struct and a Class?

The struct type is suitable for representing lightweight objects such as Point, Rectangle, and Color. Although it is possible to represent a point as a class, a struct is more efficient in some scenarios. For example, if you declare an array of 1000 Point objects, you will allocate additional memory for referencing each object. In this case, the struct is less expensive.

When you create a struct object using the new operator, it gets created and the appropriate constructor is called. Unlike classes, structs can be instantiated without using the new operator. If you do not use new, the fields will remain unassigned and the object cannot be used until all of the fields are initialized.

It is an error to declare a default (parameterless) constructor for a struct. A default constructor is always provided to initialize the struct members to their default values.

It is an error to initialize an instance field in a struct.

There is no inheritance for structs as there is for classes. A struct cannot inherit from another struct or class, and it cannot be the base of a class. Structs, however, inherit from the base class Object. A struct can implement interfaces, and it does that exactly as classes do.

A struct is a value type, while a class is a reference type. (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