css

Interview Questions and Answers

CSS

Question:
Which font names are available on all platforms ?
Answer:

The simple answer is None which is why CSS offers five generic font names as serif, sans-serif, cursive, fantasy and monospace. Never put any of these generic font names in quotes.A CSS aware browser should make a suitable choice from the available fonts in response to each of those generic names. Specifying any other font name in a www environment comes out as a suggestion only, that may or may not be acknowledged by a browser. The problem with using names of specific fonts is that there is little point in naming fonts that few users will have, so you are down to listing a few mass-market font names. This will then override any superior selection that a minority of discerning readers may have made for themselves. Note also that fonts may differ in their character repertoire, but this is often not evident from the font name itself: by selecting an inappropriate font name, you might prevent internationalized content from displaying correctly for a proportion of users.

--- >>>

CSS - Questions
1. How do I eliminate the blue border around linked images?
Answer
2. Describe pseudo classes in CSS.
Answer
3. What is important declaration?
Answer
4. What is CSS3?
Answer
5. What is property?
Answer
6. Why do style sheets exist?
Answer
7. Explain in brief about the term CSS.
Answer
8. Are you pro or against Flash?
Answer
9. What is grouping?
Answer
10. Why use Style Sheets?
Answer
11. How do I combine multiple sheets into one?
Answer
12. What`s the difference between ID and class selector?
Answer
13. How do I center block-elements with CSS1?
Answer
14. What are pseudo elements?
Answer
15. Describe ID selector?
Answer
16. What is parent child selector?
Answer
17. Describe about float element.
Answer
18. What is a Style Sheet?
Answer
19. How to customize your text boxes.
Answer
20. What is CSS rule at rule?
Answer
21. What are inline, block, parent, children, replaced and floating elements?
Answer
22. What is Extensible Stylesheet Language "XSL"?
Answer
23. List various font attributes used in style sheet.
Answer
24. Write different ways of styles applied in HTML file?
Answer
25. Why call the subtended angle a pixel, instead of something else ?
Answer
26. Which font names are available on all platforms ?
Answer
27. What is inline style? How to link?
Answer
28. Why does my content shift to the left on some pages in FF?
Answer
29. How do you include comments in CSS?
Answer
30. What is embedded style? How to link?
Answer
31. Which set of definitions, HTML attributes or CSS properties, take precedence?
Answer
32. What is CLASS selector?
Answer
33. What is CSS declaration?
Answer
34. How to use CSS to separate content and design ?
Answer
35. What main useful features of CSS3?
Answer
36. How do you override the underlining of hyperlinks?
Answer
37. How can I specify background images?
Answer
38. Why was the decision made to make padding apply outside of the width of a box, rather than inside, which would seem to make more sense?
Answer
39. Can Style Sheets and HTML stylistic elements be used in the same document?
Answer
40. What is one auto margin?
Answer
41. How do I move the list bullet to the left and right?
Answer
42. What is external Style Sheet? How to link?
Answer
43. What is cascade?
Answer
44. How do I have a fixed non scrolling background image?
Answer
45. What is CSS rule ruleset?
Answer
46. What is a class selector?
Answer
47. What does the Cascading in Cascading Style Sheets mean?
Answer
48. Tell about hover element in CSS3.
Answer
49. What are pseudo classes?
Answer
50. Why is it my hover declaration for links does not work ?
Answer