Web Technology Questions

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 1446
Q:

What is HTML5 Web Storage?

Answer

With HTML5, it is possible for the web pages to store the data locally in the user's browser. This web storage is much faster and secured than the cookies. Also, a larger amount of data can be stored without causing any adverse effect to the performance of the website. 


The data here is not included with every server request. It is used ONLY when it is asked for. It is only that particular web page that can access the data stored by itself.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1445
Q:

What is the purpose of pseudo-elements?

Answer

Pseudo elements allow the use of the part of element and not the element itself. They are applied to block level element, which is used for the complete block for which the CSS is being written. This allow the subpart of an element to be styled like paragraphs and headings. For example:


selector:pseudo-element {property:value;}


p: first-line {text-transform: lowercase;}


It adds the style to the first line of the code in the paragraph.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1444
Q:

What is the use of Media Types in CSS?

Answer

Media types in CSS define the media like audio and video to be used in your HTML document to represent the properties in a better way. The font property can be used for media types as it can be used for print media or screen media. Document requires a defined media to represent the screen that can be read on the paper. It is used as:@media 


<html>


<head>


<style>


@media screen


{


p.test {font-family:verdana,sans-serif;font-size:14px;}


}


@media print


{


p.test {font-family:times,serif;font-size:10px;}


}


</style>


</head>


<body>


----------Your code here----------


</body>


</html>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1443
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 1441
Q:

.What are the different types of environments available in the web?

Answer

Intranet  (local Network)


Internet  (wide area Network)


Extranet (Private network over internet)

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1439
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 1438
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 1435