Web Technology Questions

Q:

What are windows object and navigator object in JavaScript?

Answer

Windows object is top level object in Java script. It contains several other objects such as, document, history, location, name, menu bar etc., in itself. Window object is the global object for Java script that is written at client-side.


Information pertaining to the client browser and system is returned by the navigator object of JavaScript. Navigator object is the top level object for all users.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1733
Q:

Differentiate between Canvas and SVG.

Answer

Some important differences between Canvas and SVG:


- Canvas is resolution dependent while SVG is not. 


- Canvas does not provide any support for event handlers while SVG does. 


- Canvas is suitable for graphic-intensive games while SVG is not suitable for gaming.


- Canvas is suitable for small rendering areas while SVG is suitable for large rendering areas like Google maps.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1731
Q:

What are the different objects used in JavaScripts?

Answer

JavaScripts uses a hierarchical structure that applies to the objects in a document. There are some objects that show the relationship of one object to another using the language.

Window object: This is the topmost object in the hierarchy. It represent the content area of browser window that consists of HTML documents. Each frame is also a window that has some actions inside it.


Document object: This object gets loaded in a window and consists of objects of different kind in the model. It consists of the content that will be written in the script.

Form object: Form objects are used for more interaction with the users. It represents the form elements inside <FORM>...</FORM> tag.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1730
Q:

How to determine the state of a checkbox using Javascript?

Answer

var checkedP = window.document.getElementById("myCheckBox").checked;

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1725
Q:

What are the new features provided in HTML5?

Answer

Some of the new features provided in HTML5 are:


- It provides support for local storage


- New form controls, like calendar, date, time, email, url, search


- <canvas> element is provided to facilitate 2D drawing


- The <video> and <audio> elements are provided for media playback


- New content-specific elements are provided. For e.g. <article>, <header>, <footer>, <nav>, <section>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1723
Q:

What is the use of Name based hosting?

Answer

- Name based is the virtual hosting that allows the virtual hosts to serve multiple hostnames that runs on single machine and having only one IP address.


- This is used when the web browser is used to request the resource from the server then the server respond using the hostname. 


- Web server uses HTTP protocol to respond to the requested hostname as the part of the request. 


- The server contains all the information of the website and the user that requests for the resources given. 


- Name based web hosting includes the resources and services that need to be given at the time of client’s request.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1722
Q:

List the major benefits of E-commerce.

Answer

The major benefits of Ecommerce are:


- Secure       : More secure than a cheque.


- Fast           : The transactions take not more than a few seconds


- Always on  : The purchases can be made 24/7


- Convenient:  Ease of purchasing


-Reduced cost price : Reduction of Marketing and Advertising Costs

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1716
Q:

What is Web Server?

Answer

Web server handles client side and server side validations and helps to deliver web content that can be accessed through the Internet protocols.


Examples:


Microsoft IIS (Internet Information Service)


Apache web server from Apache


Java web server


Pramathi web server etc...

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1710