COMPUTER SCIENCE AND ENGINEERING
WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
< >
|
|
[ ]
|
|
{ }
|
|
( )
|
Detailed explanation-1: -It is General Sibling Selector and similar to Adjacent Sibling Selector. It selects all next elements that are siblings of a specified element. The following example selects all next <p> elements that are siblings of <div> elements.
Detailed explanation-2: -The * means “all elements” (a universal selector), so we are setting all elements to have zero margins, and zero padding, thus making them look the same in all browsers.
Detailed explanation-3: -The CSS class Selector The class selector selects HTML elements with a specific class attribute. To select elements with a specific class, write a period (.) character, followed by the class name.
Detailed explanation-4: -Each declaration includes a CSS property name and a value, separated by a colon.
Detailed explanation-5: -Selector: tells CSS which elements to style. Property: tells CSS what you are changing. Value: tells CSS to how you want that element to change.