Web Technology Questions

Q:

What is XML?

Answer

XML, Extensible Markup Language, is an open, text based markup language that provides structural and semantic information to data. XML is a metalanguage that can be used to create other language. It is used to structure and describe data that can be understood by other applications. Using XML, we can separate the user interface from data.


Features of XML :


- XML is a generalized markup language that means one can define his/her own tag sets.


- A valid XML document contains rules and is self-describing.


- The rules that are found in DTD allow the documents to be validated.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1768
Q:

Explain Non Breaking space in HTML.

Answer

When we add many spaces in the content then HTML remove all space except one space this is Non Breaking Space. To overcome this problem we use “&nbsp”. Suppose we want to add 3 space between two words then we have to use &nbp three time. 


 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1764
Q:

What is the Use of SPAN in HTML and give one example?

Answer

The <span> tag is used to group inline-elements in a document.


The <span> tag provides no visual change by itself.


The <span> tag provides a way to add a hook to a part of a text or a part of a document.


 


EX :


<p>My Car Color is <span style="color:blue">blue</span> </p>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1762
Q:

What is the use of FOR XML in SQL Server?

Answer

SQL Server is having a fantastic feature to retrieve data persisted in the form of XML format. The data in the XML format can be retrieved using FOR XML clause appending to the SELECT statement.


It offers 3 modes.


- “FOR XML AUTO": Returns XML elements that are nested, based on which tables are listed in the "from" part of the query, and which fields are listed in the "select" part.


- "FOR XML RAW": Returns XML elements with the "row" prefix (ex: ""). Each column in a table is represented as an attribute and null column values aren't included.


- "FOR XML EXPLICIT": Explicit mode is the most complex shaping method used in SQL Server 2000. It allows users to query a data source in such a way that the names and values of the returned XML are specified before the query batch is executed. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1755
Q:

What is the difference between class selector and ID selector?

Answer

- Class selector can be given to an overall block. This is sometimes termed as block element as well, whereas ID selector identifies a unique name and a style for a specific element. 


- ID selector declares the style for only one particular element which can be differentiated from other element, whereas Class selector is being given for the whole complete block.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1746
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 1741
Q:

What is web application?

Answer

Web application provides services (Free and Paid) apart from information.


Ex: Online Banking System


It provides Bank  information , Branches & ATM information, Loans information etc...


And It provides balance enquiry, Fund transfer, Bill payments like services.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1735
Q:

JavaScript vs. Jscript

Answer

JavaScript:


- JavaScript is a scripting language developed by Netscape Communications.


- The Netscape Navigator interprets JavaScript embedded into Web pages.


- JavaScript is used for developing web applications.


- It is not dependent on Sun Microsystem's Java language.


JScript:


- Microsoft JScript is an open implementation of Netscape's JavaScript.


- JScript is a scripting language designed to create active online content. ActiveX controls, Java programs, etc can be linked and automated in the web pages using JScript.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1734