Web Technology Questions

Q:

What is the purpose of pseudo-elements?

Answer

Pseudo elements allow the use of the part of element and not the element itself. They are applied to block level element, which is used for the complete block for which the CSS is being written. This allow the subpart of an element to be styled like paragraphs and headings. For example:


selector:pseudo-element {property:value;}


p: first-line {text-transform: lowercase;}


It adds the style to the first line of the code in the paragraph.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1619
Q:

What is CSS selector?

Answer

- Basically it is a string that identifies the elements to which a particular declaration or set of declarations will apply. 


- It can also be referred to as a link between the HTML document and the style sheet. 


- It is equivalent of HTML elements.


For example : 


A {text-indent: 12pt}


Here, the selector is A, which is called as type selector.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1618
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 1618
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 1618
Q:

List the major benefits of E-commerce.

Answer

The major benefits of Ecommerce are:


- Secure       : More secure than a cheque.


- Fast           : The transactions take not more than a few seconds


- Always on  : The purchases can be made 24/7


- Convenient:  Ease of purchasing


-Reduced cost price : Reduction of Marketing and Advertising Costs

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1618
Q:

What is EXtensible Application Markup Language (XAML)?

Answer

XAML is a markup language used to define dynamic or static UIs for .NET applications. Though Windows Vista would be used to design XAML UIs, they can be applied to Windows XP or Windows 2003 too.


XAML is similar to MVC in terms of the separation of the UI code from application logic.


XAML is bound to Windows Presentation foundation to build a UI in .NET 3.0 and Windows Vista.


XAML Features:


- XAML inherits all XML definitions and rules.


- It also contains HTML, XHTML and other markup languages for UI.


- Every XAML element represents a .NET CLR class due to which working with XAML becomes simple.


- The application logic can be put in a separate file or be embedded in XAML file itself as XAML in conjunction with Windows Presentation Foundation model to provide the developers design a good UI in ASP.NET.


- XAML files get compiled to BAML files which are smaller than XAML and easier to read which make them faster to load.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1615
Q:

What are the new features provided in HTML5?

Answer

Some of the new features provided in HTML5 are:


- It provides support for local storage


- New form controls, like calendar, date, time, email, url, search


- <canvas> element is provided to facilitate 2D drawing


- The <video> and <audio> elements are provided for media playback


- New content-specific elements are provided. For e.g. <article>, <header>, <footer>, <nav>, <section>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1605
Q:

What are windows object and navigator object in JavaScript?

Answer

Windows object is top level object in Java script. It contains several other objects such as, document, history, location, name, menu bar etc., in itself. Window object is the global object for Java script that is written at client-side.


Information pertaining to the client browser and system is returned by the navigator object of JavaScript. Navigator object is the top level object for all users.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1603