Web Technology Questions

Q:

What is CSS selector?

Answer

- Basically it is a string that identifies the elements to which a particular declaration or set of declarations will apply. 


- It can also be referred to as a link between the HTML document and the style sheet. 


- It is equivalent of HTML elements.


For example : 


A {text-indent: 12pt}


Here, the selector is A, which is called as type selector.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1703
Q:

How do you create a new object in JavaScript?

Answer

var obj = new Object(); or var obj = {};

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1697
Q:

What is Web Browser ?

Answer

Web browser is a software application used to locate,retrieve and display content on the World Wide Web, including Web pages, images, videos and other files.


Examples : Microsoft Internet Expiorer , Mozilla Firefox , Google Chrome, Opers , Safari etc...

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1697
Q:

What are the steps involved in uploading the files using FTP client software?

Answer

- FTP is used to upload the files on the server from the client side where it is installed on the computer of clients. 


- FTP client is checked for the installation of the software and according to that the appropriate directory is uploaded on the hosting server. 


- The hosting server uploads the files that is being created by the user and set the permissions for it so that public can access it. 


- Web hosting uses different directories like HTML that is used as var/www/html that is determined using the FTP client. 


- Initial local directory is being set up using FTP client and it is where the website gets stored. 


- The transfer mode is being determined for the files that need to be transferred either in ASCII or BINARY mode.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1693
Q:

Write a program to fix the error being produced by the Infinite file?

Answer

- The infinite file error can be solved when the data will be read continuously from the file. 


- The error can be solved by using the keys that provide only the resources that are required. 


- The following program is as follows:


osw.write ("HTTP/1.0 200 OK\n\n"); 


while (c != -1) { 


sb.append((char)c); 


c = fr.read(); 



osw.write (sb.toString()); 


- This converts the requested file in such a way that if the file exists it shows the messages as ok otherwise it shows an error.


- Limited file access is to be given to the file to remove the error from the infinite file type.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1690
Q:

What is the Use of SPAN in HTML and give one example?

Answer

The <span> tag is used to group inline-elements in a document.


The <span> tag provides no visual change by itself.


The <span> tag provides a way to add a hook to a part of a text or a part of a document.


 


EX :


<p>My Car Color is <span style="color:blue">blue</span> </p>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1689
Q:

How E-commerce works?

Answer

=> When a consumer wants to buy a certain product, he go to the website and selects the product he wants to buy. 


=> Once the product is selected, the consumer transaction is moved to the online transaction server where he places an order. 


=> The informations is exchanged over a secure channel through a private gateway to a processing network. 


=> The networked banks accept or reject the transaction.


 All this happens in just a matter of seconds. E-commerce is a very secure due to the SSL (Secure Socket Layer) technology.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1680
Q:

JavaScript vs. Jscript

Answer

JavaScript:


- JavaScript is a scripting language developed by Netscape Communications.


- The Netscape Navigator interprets JavaScript embedded into Web pages.


- JavaScript is used for developing web applications.


- It is not dependent on Sun Microsystem's Java language.


JScript:


- Microsoft JScript is an open implementation of Netscape's JavaScript.


- JScript is a scripting language designed to create active online content. ActiveX controls, Java programs, etc can be linked and automated in the web pages using JScript.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1679