Tuesday, February 14, 2017

Answers --- Interview Questions for CSS-4

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:
  1. background-color
  2. background-image
  3. background-repeat
  4. background-attachment
  5. 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