Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to add CSS styles Styles to Elements with Particular
Attributes?



How to add CSS styles Styles to Elements with Particular Attributes?..

Answer / swapna

The style rule below will match all input elements that has
a type attribute with a value of "text"
Input[type="text"] {background-color: blue}

id Selector

Defining styles for HTML elements with the id selector. The
id selector is defined as a #.
The style defined below will effect the element that has an
id attribute with a value of "green? ie., id=?green?
Ex: #green {color: green}
The style rule below will match the p element that has an
id with a value of "para1? ie., <p id=?para1?>
p#para1
{
text-align: center;
color: red
}
Do NOT start a class name or ID name with a number


Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Design Patterns Interview Questions

In what cases are synchronous architectures more appropriate than asynchronous architectures?

1 Answers   Wipro,


What would help with feature-related decisions?

1 Answers  


What is the S/W model used in the project. What are the optimization techniques used. Give examples ?

2 Answers   Infosys, Symphony, Wipro,


What development do you think is needed in the UI UX of our product?

1 Answers  


What is singleton and factory pattern?

0 Answers  


Where should we use singleton design pattern?

0 Answers  


What publications based on UI UX do you read?

1 Answers  


What are creational design patterns?

0 Answers  


What is the use of such a class?

0 Answers  


what is diffrence between Function Oriented Design and Obeject Oriented design

11 Answers   IBS, TCS,


2. Create your own de&#64257;nition of a system. Based on the “system” de&#64257;nitions a. Identify your viewpoint of shortcomings in the de&#64257;nitions. b. Provide rationale as to why you believe that your de&#64257;nition overcomes those shortcomings. c. From an historical perspective, identify three precedented systems that were replaced by unprecedented systems.

0 Answers   IBM,


What are the languages used in the design pattern?

0 Answers  


Categories