Wednesday, October 19, 2016

Interview Questions for CSS - 1 - Answers





Back- Interview Questions for CSS - 1

Q1. Answer : The selector is normally the HTML elements and style apply on particular HTML     element.

Q2. Answer: True

Q3. Answer: CSS is a Cascading Style Sheets. It define how to display HTML elements. CSS controls the style and layout of multiple web pages all at once.

Q4. Answer: CSS Syntax has two main parts.
  • Selector 
  • Declaration 
Declaration has two parts.
  • Property
  • Value
Example:    P {color: red;font-size:10px;}

Selector=P; Property=color, font-size; Value=red, 10px;

Q5. Answer: Three ways of inserting of Style Sheets.
  • External Style Sheet
  • Internal Style Sheet
  • Inline Style


No comments:

Post a Comment