Back - Interview Questions for CSS-4
Q1. Answer: Yes, True
Q2. Answer: (b) Horizontal
Q3. Answer: The text- property is property which used to set or remove decorations from text. It is mostly used to remove underlines from links for design purposes.
Example : a { text-decoration:none; }
h1 { text-decoration:underline; }
h2 { text-decoration:overline; }
h3 { text-decoration:line-through; }
Q4. Answer: CSS background properties are used to define the background effects of an element.
CSS properties used for background effects:
Q1. Answer: Yes, True
Q2. Answer: (b) Horizontal
Q3. Answer: The text- property is property which used to set or remove decorations from text. It is mostly used to remove underlines from links for design purposes.
Example : a { text-decoration:none; }
h1 { text-decoration:underline; }
h2 { text-decoration:overline; }
h3 { text-decoration:line-through; }
Q4. Answer: CSS background properties are used to define the background effects of an element.
CSS properties used for background effects:
- background-color
- background-image
- background-repeat
- background-attachment
- background-position
Q5. Answer: The background-color property specifies the background color of an element.
The background color of a page is defined in the body selector:
Example:
body { background-color:"blue"; }
No comments:
Post a Comment