How to add CSS styles Styles to Elements with Particular
Attributes?
Answer Posted / 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 View All Answers
Give me example of observer design pattern?
What is the behavioral design pattern?
What is onion architecture?
Can you explain singleton pattern?
What is clean architecture?
What is a behavioral design pattern?
Is singleton scope thread safe?
Explain three types of components comprise an application design?
How do you choose a design pattern?
Is singleton a design pattern?
Explain what is good design?
What are the types of participants of the prototype design pattern you will get?
What design pattern wrapper classes implement?
Contact a small, medium, and a large contract program within your organization. Interview the Technical Director or Project Engineer to identify the following information: a. Request the individual to graphically depict their development strategy? b. What factors drove them to choose the implementation strategy? c. What were some of the lessons learned from developing and implementing the strategy that would influence their approach next time? d. How was the V & V strategy implemented?
How did you design your unit tests?What about integration tests?