Sample CSS Technical Interview Questions and Answers for freshers job
interview / placement test. CSS Web Design Questions related to asked in written IT recruitment exams and interview.
What do you understand by CSS?
What is the order of precedence – HTML Attributes or Css attributes?
How can you create you div 100% height?
What do you mean by property?
How can you include comments in a style sheet?
Explain the points of difference between ID and Class.
What do you mean by pseudo elements?
How can you code a style sheet which cascades with a user’s personal sheet.
How will you make a page appear the same in different browsers – firefox and IE.
How can you create a tool tip which appears when we hover the mouse?
Which characters are allowed in the CSS-names?
Why should you avoid fixed size fonts?
Can a whole div be made into a link? How?
Define an initial value.
How can you style the table cells and forms?
How can you make different links of different colors on one page?
How can a footer be made at the bottom?
Can a selector have more than one declaration?
How will you use CSS1 to center block elements?
How do you link to an external style sheet>
Why do the background and color occur as separate properties even as they are set together?
What do you mean by a grouping?
What is the function of the three selectors – ht, .warning and #footer?
Explain the CSS Rule ‘ruleset’
Describe an imported style sheet?
How can you link to an imported style sheet?
Describe a contextual selector.
Describe an alternate style sheet and how can you link to it?
Describe an ID Selector.
How is meant by ABCD?
What is the method to set a minimum width for IE.
Is there a way to place text over an image using CSS?
In firefox, the web page content shifts to the left on same pages. Why?
How can you merge or combine many sheets into one?
What do you mean by parent-child selector?
What do you mean by attribute selector?
Describe the inline, block and parent elements.
WHat are replaced and floating elements?
How can you remove the blue border around linked images using CSS?
How to use the background images?
Explain the “important” declaration.
How can you remove the gap which appears under an image?
How can ensure the backward compatibility?
Define the pseudo classes.
Can you use the HTML stylistic elements along with style sheets in one document together?
Can we use CSS with non – HTML documents?
Why is the padding applied outside the width of a box and not inside?
How do style sheets help with the things that can’t be done with regular HTML?
What can be the reason that an external style sheet is not working.
Explain the Class Selector.
Define the selector.
Why do we use style sheets?
What do you mean by the word “Cascading” in “Cascading Style Sheets”?
Define the CSS “at-rule”
Tell whether style sheets case sensitive or not.
How can you build a non tiling background image
CSS is very useful in web design but people still find it difficult to use CSS. Would it be helpful if there was some form of layout language? WHat else can be done for this?
Can we quote font names in the quote values of style attribute?