Web Technology Questions

Q:

What happens if the list-style-type property is used on a non-list element like a paragraph?

Answer

Here the property will be ignored without having any effect on the paragraph.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

3 5463
Q:

Explain about AngularJS boot process.

Answer

When the page is loaded in the browser, following action takes place:


HTML document is loaded into the browser, and evaluated by the browser. AngularJS JavaScript file is loaded; the angular global object is created. Next, JavaScript which registers controller functions is executed.


AngularJS scans through the HTML to look for AngularJS applications and views. Once view is located, it then connects that view to the corresponding controller function.


Then, AngularJS executes the controller functions. It then renders the views with data from the model populated by the controller. The page is ready.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 5452
Q:

How do we create a DHTML drop-down menu?

Answer

- In order to create a DHTML drop down menu we need JavaScript API. The API (Application Programming Interface) consists of core set of cross-browser JavaScript functions to make DHTML programming easy and quick. This API enables moving and hiding page elements as well as acts as getter and setter of page elements attributes.


- Second we define on image object and off image object and string containing the URL of the "off" version.


- Then we create the menu items, label items and sub-menu items. If we wish we can use images also.


- Then we need to define our own global variables that will be used by the menu. Using global goes against oops design but makes sharing data easier.


- Create the menubar object, adding the menu labels and writing menubars.


- Create menu object, adding menu items and writing menus.


- Hiding and displaying the menus and attaching stylesheet.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

5 5354
Q:

How does Node.js prevents blocking code?

Answer

By providing callback function. Callback function gets called whenever corresponding event triggered.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 4662
Q:

Distinguish between Static vs. Dynamic HTML

Answer

- The easiest difference is static HTML once rendered cannot be changed on the other hand dynamic HTML can be changed.


- Static web pages cannot have database access but dynamic pages can be connected to database.


- Using static HTML no interactions persist between user and server but dynamic HTML has capability to interact with the user.


- Static HTML does not require server side coding but dynamic HTML requires server side coding.


- No animation, games can be developed using the static HTML but on the other hand dynamic HTML can perform this task.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 4491
Q:

HTML language is a set of markup

A) Groups B) Attributes
C) Tags D) Sets
 
Answer & Explanation Answer: C) Tags

Explanation:

HTML language is a set of markup tags. The code used to specify the formatting are called tags. Markup languages are designed for the processing, definition and presentation of text. The language specifies code for formatting, both the layout and style, within a text file. 

 

HTML is an example of a markup language to improve the appearance of, and link text with data on the internet.

Report Error

View Answer Report Error Discuss

1 4437
Q:

Server controls contain attributes whereas HTML controls have properties only.

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

Server controls contain properties whereas HTML controls have attributes.

Report Error

View Answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 4405
Q:

How can you make sure the web application is fit for release ?

Answer


1. We can operate majority of test cases, but importantly we can make use testing techniques such as Pair-wise testing to reduce combinations, and/or model based testing to plan user journeys to ensure major functionality of web application works or not.


2. We can also use analytics to get insight into what users do on the website, which page is most popular and which feature is most used by the users.



Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

9 4403