Web Technology Questions

Q:

What is difference between HTML and HTML5?

Answer

The differences between HTML and HTML5 are:


- Document of HTML is very large as compare to the HTML5.


- Audio and Video tags are not present in HTML whereas HTML5 contains audio and video tags.


- Vector technology is not integral part of HTML whereas HTML5 Vector technology is the integral part of it.


- HTML supported by all old browsers whereas HTML5 is supported by new browser.


- In HTML web sockets are not available whereas in HTML5 Full duplex communication channel is present.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1869
Q:

How to insert Javascript in HTML?

Answer

We can insert JavaScript in HTML using <Script tag>. JavaScript can be enclosed in <script type = text/javascript> and ending with </script>.


Example: 


<html> 


  <body> 


        <script type="text/javascript"> 


               ...JavaScript….


         </script> 


   </body> 


</html>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1833
Q:

What is a Manifest file?

Answer

A Manifest file is a simple text file that tells the browser what to cache and what not to cache. 


There are three sections of a Manifest file:


i.) CACHE MANIFEST - Files listed here are cached after they are downloaded for the first time. 


ii.) NETWORK - Files listed here require a connection to the server, and are never cached


iii.) FALLBACK - Files listed here specify fallback pages if a page is inaccessible

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1830
Q:

What is the difference between "==" and "==="?

Answer

"==" checks equality only,
"===" checks for equality as well as the type.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1817
Q:

What are the ways through which the files can be transferred to server?

Answer

- Files can be transferred to the server by using the FTP protocol also known as File Transfer Protocol. 


- FTP is used as a standard network protocol that transfers the file from one computer to another computer using the TCP protocol network.


- This uploads the pages and other documents that are stored in private disk to the public web hosting server. 


- FTP is used on a client server architecture that allows different controls and data connections between the client and the server. 


- FTP uses clear-text sign in protocol that allows the client to use the user name and password for authentication purpose.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1804
Q:

What needs to be taken into consideration to host a website?

Answer

- To host a website a platform needs to be decided using which the hosting can be made simpler. 


- The specification needs to be determined before hosting the website and choosing the hosting platform. 


- The choice of operating system needs to be clear in choosing the website hosting services and the resources that the particular hosting platform requires need to be known. 


- The web hosting platform requires lots of services that need to be decided before hosting the website on the web.


- The space and the cost need to be kept minimum and according to that the choice has to be made between hosted or shared platforms.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1803
Q:

What is Shift() method in Javascript?

Answer

-The shift() method is similar as the pop() method but the difference is that Shift method works at the beginning of the array. 


-The shift() method take the first element off of the given array and returns it. The array on which is called is then altered.


For example


var myarray = ["apple ", "banana ", "mango "]; 


console.log(myarray.shift());


console.log(myarray);


we get the following console output:


apple


["banana ", "mango "];


 


When we call shift() on an empty array, it will return an undefined value.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1781
Q:

What is SVG?

Answer

- SVG is the abbreviation for Scalable Vector Graphics and is recommended by W3C. 


- It is used to define vector-based graphics for the Web


- The graphics are defined in XML format


-An important quality of SVG graphics is that their quality is maintained even when they are zoomed or resized. 


- All the element and attributes of SVG files can be animated

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1774