.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> Others >> Post New Question Subscribe to Interview Questions

Can I attach more than one declaration to a selector?

Posted By : LEANORD     Posted Date :October 27, 2011    Points :40   Category :Others 
Yes. If more than one declaration is attached to a selector they must appear in a semi colon separated list.

You can also find related Interview Question to Can I attach more than one declaration to a selector?  below: 

What is the use of 'using' declaration.

  
A using declaration makes it possible to use a name from a namespace without the scope operator. (More...)

What is ID selector?

  
ID selector is an individually identified (named) selector to which a specific style is declared. Using the ID attribute the declared style can then be associated with one and only one HTML element per document as to differentiate it from all other elements. ID selectors are created by a character # followed by the selector's name. The name can contain characters a-z, A-Z, digits 0-9, period, hyphen, escaped characters, Unicode characters 161-255, as well as any Unicode character as a numeric code, however, they cannot start with a dash or a digit.

#abc123 {color: red; background: black}

This and only this element can be identified as abc123

(More...)

What is contextual selector?

  
Contextual selector is a selector that addresses specific occurrence of an element. It is a string of individual selectors separated by white space, a search pattern, where only the last element in the pattern is addressed providing it matches the specified context.

TD P CODE {color: red}

The element CODE will be displayed in red but only if it occurs in the context of the element P which must occur in the context of the element TD.

TD P CODE, H1 EM {color: red}

The element CODE will be displayed in red as described above AND the element EM will also be red but only if it occurs in the context of H1

P .footnote {color: red}

Any element with CLASS footnote will be red but only if it occurs in the context of P

P .footnote [lang]{color: red}

Any element with attribute LANG will be red but only if it is classed as "footnote" and occurs in the context of P (More...)

Before you RESTORE or ATTACH the Database/backup file on Production server from other source, What are the things you should do ?

  
The following are the basic recommendations when attaching or restoring Database(s) from other source:

1. Do not ATTACH or RESTORE databases from unknown sources.

2. These databases could contain malicious code that might execute unintended Transact-SQL code or cause errors by modifying the schema or the physical database structure.

3. Before you use a database from an unknown source, run DBCC CHECKDB on the database on a nonproduction server first.

4. Examine the code, like stored procedures or other user-defined code.

5. If you feel everything is fine thenonly proceed with production server.
(More...)

Is it Possible to use var Keyword for global Declaration ?

  
no, Var keyword is using for Local Declaration . (More...)

debug the timer job To which process should you attach the debugger?

  
A. owstimer.exe
B. devenv.exe
C. spucworkerprocess.exe
D. w3wp.exe


Ans:A. owstimer.exe (More...)

Why element selector is used inJQuery ?

  
Element selector inJQuery selects elements based on their tag name.e.g. Syntax: $("h1") (More...)

Why #id selector is used in JQuery ?

  
#id selector in JQuery is used to select #id from html document and apply some jquery on it.
e.g. Syntax: $("#idname") (More...)

Why .Class selector is used in JQuery?

  
.Class selector in JQuery is used to select .Class from html document and apply some jquery on it.
e.g. Syntax: $(".Classname") (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend