Vous êtes sur la page 1sur 3

Which are the browsers in market…

Best browser and why ?

What is HTML5..? Do you think it will replace other technologies like Silverlight or flash

What is your approach in web designing?

Your understanding on Usability / Accessibility

Understanding of Jquery

Rate yourself in

- UI Design
- HTML
- CSS
- Any other frontend language – PHP, .net .etc

How do I center block-elements with CSS1? 


There are two ways of centering block level elements:

1. By setting the properties margin-left and margin-right to auto and width to some
explicit value:

BODY {width: 30em; background: cyan;}


P {width: 22em; margin-left: auto; margin-right: auto}

In this case, the left and right margins will each be four ems wide, since they equally split
up the eight ems left over from (30em - 22em). Note that it was not necessary to set an
explicit width for the BODY element; it was done here to keep the math clean.

Another example:

TABLE {margin-left: auto; margin-right: auto; width: 400px;} 


In most legacy browsers, a table's width is by default determined by its content. In CSS-
conformant browsers, the complete width of any element (including tables) defaults to the
full width of its parent element's content area. As browser become more conformant,
authors will need to be aware of the potential impact on their designs.

Differences between Class and ID in CSS

What are the types of CSS ? external + embedded + internal

What is DTD type in html ?


According to HTML standards, each HTML document begins with a DOCTYPE declaration
that specifies which version of HTML the document uses. Originally, the DOCTYPE
declaration was used only by SGML-based tools like HTML validators, which needed to
determine which version of HTML a document used (or claimed to use). 
Today, many browsers use the document's DOCTYPE declaration to determine whether to
use a stricter, more standards-oriented layout mode, or to use a "quirks" layout mode that
attempts to emulate older, buggy browsers.

What is the difference between jscript and javascript?

JScript & javascript are both scripting languages that facilitate

development of web pages. JScript is similar to javascript with subtle difference in objects & functions
exposed. JScript is supported and shipped by Microsoft and may be work best only on IE where as
javascript was initiated by netscape and can work across all browsers consistently

Have you worked on the .net technology? Idea of checkin/checkout/workflow/visual


studio

Do you use the flow chart for coding?

Explain the differences between Server-side and Client-side code? Server side scripting means
that all the script will be executed by the server and interpreted as needed. ASP doesn’t have some of
the functionality like sockets, uploading, etc. For these you have to make a custom components
usually in VB or VC++. Client side scripting means that the script will be executed immediately in the
browser such as form field validation, clock, email validation, etc. Client side scripting is usually done
in VBScript or JavaScript. Download time, browser compatibility, and visible code - since JavaScript
and VBScript code is included in the HTML page, then anyone can see the code by viewing the page
source. Also a possible security hazards for the client computer.

Should validation (did the user enter a real date) occur server-side or client-side?
Why? Client-side validation because there is no need to request a server side date when you could
obtain a date from the client machine.

What does the "EnableViewState" property do? Why would I want it on or off? Enable
ViewState turns on the automatic state management feature that enables server controls to re-
populate their values on a round trip without requiring you to write any code. This feature is not free
however, since the state of a control is passed to and from the server in a hidden form field. You
should be aware of when ViewState is helping you and when it is not. For example, if you are binding
a control to data on every round trip (as in the datagrid example in tip #4), then you do not need the
control to maintain it’s view state, since you will wipe out any re-populated data in any case.
ViewState is enabled for all server controls by default. To disable it, set the EnableViewState property
of the control to false.

What is smart navigation? - The cursor position is maintained when the pagle gets refreshed due to
the server side validation and the page gets refreshed.

What is view state? - The web is stateless. But in ASP.NET, the state of a page is maintained in the
in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is
done automatically by the ASP.NET. This can be switched off / on for a single control

How to manage pagination in a page? - Using pagination option in DataGrid control. We have to
set the number of records for a page, then it takes care of pagination by itself.

Vous aimerez peut-être aussi