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 |
Using any system, product, or service your organization provides, identify the human system roles for the product.
Why is singleton used?
What is aop design?
Where should we use singleton design pattern?
How did you design your unit tests?What about integration tests?
What are the disadvantages of singleton pattern?
. What makes rival companies better or worse than us in terms of UI UX?
what is design patterns? which design patterns mostly used in .net? How it is used with examples?
What are actually Model,view,Controller in MVC Pattern?
What is the difference between factory and strategy design pattern?
What are the different types of Design Patterns and Explain them?
3 Answers Genpact, Gradatim, Gul Ahmed, TCS, Wipro,
Tell us about some of the projects that have been your favorite.