CSS Interview Questions

  1. What is CSS?
  2. What are Cascading Style Sheets?
  3. How do I center block-elements with CSS1?
  4. If background and color should always be set together, why do they exist as separate properties?
  5. What is class?
  6. What is grouping ?
  7. What is external Style Sheet? How to link?
  8. Is CSS case sensitive?
  9. Three selectors: h1, .warning and #footer, what they do ?
  10. What are Style Sheets?
  11. What is CSS rule 'ruleset'?
  12. How do you organize your CSS? How do you come up with id and class names (what naming conventions do you use)?
  13. What do you think of hacks? When should you use them? If you use them, how do you maintain them? What can be done to avoid needing to use box-model hacks? (if they aren’t pros, you can ask them what is the issue with x-browsers and the box model)
  14. What are the pros and cons of using tables for layout? Do you use tables? What are the pros and cons of tableless design? How do you generally layout your pages?
  15. Check to ensure that they separate structure and semantics first from presentation later? Do not ask about this during HTML, but do in webstandards.
  16. What are some deprecated elements and attributes that you use, and in what instances do you use them?
  17. What is involved in making a website accessible? What are arguments you use to convince others to invest in making their web site accessible
  18. Define what web standards mean to you? How do you implement web standards?
  19. In CSS, how can you make a form elments background-color change when the user is entering text? will this work in all browsers?
  20. How can you target an element in your HTML using the DOM?
  21. Can I include comments in my Style Sheet?
  22. What is the difference between ID and CLASS?
  23. How to make text-links without underline?
  24. How do you make a tool tip that appears on hover?
  25. Which characters can CSS-names contain?
  26. What browsers support style sheets? To what extent?
  27. What are different ways to integrate a CSS into a Web page?
  28. If background and colour should always be set together, why do they exist as separate properties?
  29. Explain external Style Sheet? How would you link to it?
  30. What are the advantages and disadvantages of External Style Sheets?
  31. What are the advantages and disadvantages of Embedded Style Sheets?
  32. What are the advantages and disadvantages of Inline Styles?
  33. How can you eliminate the blue border around linked images on web page?
  34. What is CSS selector?
  35. What is Tweening?
  36. Explain RWD
  37. What is the use of CSS sprites?
  38. What is the syntax to link external style sheet?
  39. How embedded style can be linked with HTML documents?
  40. imported is an easy way to insert the file?
  41. How do I combine multiple sheets into one?
  42. What are the rules in CSS ruleset?
  43. What is the CLASS selectors used for?
  44. What is the purpose of the z-index? Explain with the help of an example.
  45. Explain the meaning of graceful degradation in reference to CSS
  46. What is the other alternative to graceful degradation?
  47. How are shorthand properties are used in css? Give examples.
  48. With the help of examples explain grouping and nesting of css selectors
  49. How can HTML elements be styled having specific attributes?
  50. What are the different provision provided in css to define the dimension of an element?
  51. Explain the concept of the box model in css
  52. How is the float property implemented in css?

No comments

Powered by Blogger.