Web Technology Questions

Q:

What is the difference between an alert box and a confirmation box?

Answer

An alert box displays only one button which is the OK button whereas the Confirm box displays two buttons namely OK and cancel.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2146
Q:

What is JavaScript?

Answer

JavaScript is a scripting language most often used for client-side web development.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2140
Q:

What are Child Selectors ?

Answer

A child selector is used when you want to match an element that is the child of another specific element.
The parent and child selectors are separated by spaces.
The following selector locates an unordered list element within a paragraph element and makes a text within that element bold.


p > ul {font-weight: bold;}

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

4 2110
Q:

How to read and write a file using javascript?

Answer

I/O operations like reading or writing a file is not possible with client-side javascript. However , this can be done by coding a Java applet that reads files for the script. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2107
Q:

Explain about services in Angular.js ?

Answer

In angular.js services are the singleton objects or functions that are used for carrying out specific tasks.
It holds some business logic and these function can be called as controllers, directive, filters and so on.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

4 2096
Q:

HTML 5 provides drag and drop facility. How do you make an image draggable?

Answer

To make an image draggable, the draggable attribute is set to true:


<img draggable="true">

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2083
Q:

Differentiate between localStorage and sessionStorage objects.

Answer

- localStorage object stores the data without an expiry date while sessionStorage object stores the data only for one session. 


- With localStorage object, data will not be deleted when the browser window is closed while the data is deleted when the browser window closes with sessionStorage objects.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2079
Q:

What is the purpose of web browser?

Answer

- Web browser is used to run the software application that allows retrieving, presenting and traversing the information from one place to another. 


- Web browser provides the resources using the WWW (World Wide Web) this can be identified by URI (Uniform Resource Identifier).


- Web browser fetches the data like web page, image, video or other piece of content from the server and displays it accordingly. 


- Web browser uses hyperlinks to display the resources and allow the users to navigate their browsers according to the resources. 


- Web browser defines the application software that is designed for the user to access and retrieve the documents using the Internet.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2048