3
Q:

Which HTML attribute is used to define inline styles?

 

A) <header> B) <strong>
C) <style> D) <alt>

Answer:   C) <style>



Explanation:

The style attribute specifies an inline style for an element. The style attribute will override any style set globally,

 

e.g. styles specified in the <style> tag or in an external style sheet.

 

Subject: Web Technology
Exam Prep: Bank Exams
Q:

JavaScript is designed for following purpose

A) To add interactivity to HTML Pages. B) To Execute Query Related to DB on Server
C) To Style HTML Pages D) To Perform Server Side Scripting Opertion
 
Answer & Explanation Answer: A) To add interactivity to HTML Pages.

Explanation:
Report Error

View Answer Report Error Discuss

0 7643
Q:

Which tag is used to display the numbered list?

 

1) <ol> </ol>    2) <li></li>     3) <ul> </ul>    4) <dl> </dl>

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: A) 1

Explanation:

Use HTML tag <ol> element to define an ordered list.

Use the HTML type attribute to define the numbering type. Use the HTML <li> element to define a list item. Use the HTML <dl> element to define a description list.

 

Hence, as numbered list come under ordered list tag <ol> tag is used for numbered list.

Report Error

View Answer Report Error Discuss

17 29779
Q:

What is the difference between Tags and HTML Elements ?

Answer

* HTML elements communicate with the Browser how to represent the text.


* HTML elements become HTML tags when enclosed within the angular brackets as "<>".

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

9 3980
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 4399
Q:

What do you mean by undeclared and undefined variables ?

Answer

Difference between undeclared and undefined variables is defined as


Undeclared variables are those that do not exist in a program and are not declared. If the program tries to read the value of an undeclared variable, then a runtime error is encountered.


Undefined variables are those that are declared in the program but have not been given any value. If the program tries to read the value of an undefined variable, an undefined value is returned.

Report Error

View answer Workspace Report Error Discuss

4 3212
Q:

How to convert JSON Text to a JavaScript Object ?

Answer

One of the most common use of JSON is to fetch JSON data from a web server (as a file or as an HttpRequest), convert the JSON data to a JavaScript object, and then it uses the data in a web page.


The eval() function can compile and execute any JavaScript. This represents a potential security problem.


It is safer to use a JSON parser to convert a JSON text to a JavaScript object. A JSON parser will recognize only JSON text and will not compile scripts.

Report Error

View answer Workspace Report Error Discuss

2 4202
Q:

What is JSON ?

Answer

* JSON full form is JavaScript Object Notation.
* JSON is a lightweight text-based open standard designed for human-readable data interchange.
* It is derived from the JavaScript programming language for representing simple data structures and associative arrays, called objects.
* And JSON is language-independent, with parsers available for virtually every programming language.
* Uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python,php
* The JSON format is often used for serializing and transmitting structured data over a network connection.
* When third party data interchane(REST Services) then JSON may used there LIKE SHOP.
* It is primarily used to transmit data between a server and web application, serving as an alternative to XML.


 

Report Error

View answer Workspace Report Error Discuss

2 4069
Q:

Explain what is injector ?

Answer

1.  An injector is a service locator.
2.  It is used to retrieve object instances as defined by provider, instantiate types, invoke methods and load modules.
3. There is a single injector per Angular application, it helps to look up an object instance by its name.

Report Error

View answer Workspace Report Error Discuss

3 3796