Web Technology Questions

Q:

What is the concept of Application Cache in HTML5? What are its advantages?

Answer

The Application Cache concept introduced by HTML5 means that a web application is cached, and accessible without an internet connection.


There are three advantages of Application Cache:


1.Offline browsing - users can use the application when they're offline


2.Speed - cached resources load faster


3.Reduced server load - the browser will only download updated/changed resources from the server

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1903
Q:

What is XML template?

Answer

XML templates are XML files such as XHTML files. XML templates includes the processing directives which affect how the template is rendered, and the template expressions which are substituted dynamically by various data.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1893
Q:

What are the new attributes provided in HTML5 for "form" tag ?

Answer

The new attributes provided in HTML5 for <form> are: 


a.) autocomplete


– It specifies if a form or input field should have autocomplete as on or off. 


– If autocomplete is on, the browser is able to fill the values based on the values filled by the user earlier. 


– autocomplete works for following input types: text, search, url, tel, email, password, datepickers, range, and color. 


b.) novalidate


- This is a boolean attribute. 


- When present, it signifies that the form-data should not be validated when submitted.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1892
Q:

What is a Node.js?

Answer

Node.js is a framework for web applications built on Google Chrome's JavaScript Engine(V8 Engine).


Node.js is comes with runtime environment on which a cript based on javascript can be interpreted and executed (It is analogus to JVM to JAVA byte code). This runtime environment allows to execute a JavaScript code on any machine outside a browser. Because of this runtime of Node.js, JavaScript is now can be executed on server also.


Node.js is provides a rich library of various javascript modules which eases the developement of web application using Node.js to greater extents.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 1879
Q:

Explain marquee tag.

Answer

Marquee tag: Marquee tag is used when we want that some text or content move in the web page whether horizontally or vertically. 


Syntax of Marquee tag: <marquee>content you want to move</marquee>


Attribute of Marquee tag are: bgcolor, direction, height, width, vspace etc.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1845
Q:

What is a better way to design the layout of a web page – a table tag or div?

Answer

- The better way to design the layout of the webpage is by using the <div> tag. 


- The <table> tag is used to present the data in tabular format

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1843
Q:

Can HTML 5 get the geographical position of a user?

Answer

- Yes, HTML 5 can get the location of a user with the use of Geolocation API.


- Use getCurrentPosition() method to get the user’s current position.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1842
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 1803