css

Interview Questions and Answers

CSS

Question:
What are pseudo classes?
Answer:

Pseudo-classes are fictional element types that do not exist in HTML. In CSS1 there is only one element type which can be classed this way, namely the A element (anchor). By creating three fictional types of the A element individual style can be attached to each class. These three fictional element types are: A as unvisited link, A as active link and A as visited link. Pseudo-classes are created by a colon followed by pseudo-classs name. They can also be combined with normal classes, e.g.:
A:link {background: black; color: white} A:active {background: black; color: red} A:visited {background: transparent; color: black}
This anchor (or rather these anchors) will be displayed as declared above
A.foot:link {background: black; color: white} A.foft:active {background; black: color: red} A.foot:visited {background: transparent; color: black}

--- >>>

CSS - Questions
1. What is CSS declaration?
Answer
2. What is latest version, CSS4 or CSS3?
Answer
3. What`s the difference between ID and class selector?
Answer
4. Describe pseudo classes in CSS.
Answer
5. What is parent child selector?
Answer
6. How do I eliminate the blue border around linked images?
Answer
7. Which font names are available on all platforms ?
Answer
8. What is two auto margins?
Answer
9. List various font attributes used in style sheet.
Answer
10. Explain inline, embedded and external style sheets.
Answer
11. What are Cascading Style Sheets?
Answer
12. How do I center block-elements with CSS1?
Answer
13. What are inline, block, parent, children, replaced and floating elements?
Answer
14. How do I have a fixed non scrolling background image?
Answer
15. How can I specify background images?
Answer
16. What is attribute selector?
Answer
17. How to customize your text boxes.
Answer
18. How do I place text over an image?
Answer
19. What is a Style Sheet?
Answer
20. What is embedded style? How to link?
Answer
21. what is Fixed Background?
Answer
22. What are Style Sheets?
Answer
23. Which set of definitions, HTML attributes or CSS properties, take precedence?
Answer
24. 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
25. What is Extensible Stylesheet Language "XSL"?
Answer
26. Document Style Semantics and Specification Language "DSSSL"?
Answer
27. Why use Style Sheets?
Answer
28. What does the Cascading in Cascading Style Sheets mean?
Answer
29. What is selector?
Answer
30. What is cascade?
Answer
31. Are Style Sheets case sensitive?
Answer
32. What is property?
Answer
33. What is grouping?
Answer
34. How do you include comments in CSS?
Answer
35. What are the various style sheets?
Answer
36. What is inline style? How to link?
Answer
37. Why do style sheets exist?
Answer
38. How do I have a background image that isnt tiled?
Answer
39. What is CSS rule ruleset?
Answer
40. What is external Style Sheet? How to link?
Answer
41. Why call the subtended angle a pixel, instead of something else ?
Answer
42. Can CSS be used with other than HTML documents?
Answer
43. Can Style Sheets and HTML stylistic elements be used in the same document?
Answer
44. What are pseudo classes?
Answer
45. Why is it my hover declaration for links does not work ?
Answer
46. Why does Netscape lose my styles ?
Answer
47. How can I specify two different sets of link colors?
Answer
48. How do you override the underlining of hyperlinks?
Answer
49. How does a simple CSS style rule look ?
Answer
50. How do I move the list bullet to the left and right?
Answer
General Knowledge Quiz
3001 Bizarre Facts
Dictionary
Elementary English Grammar Test
Standard English Grammar Test
Advanced English Grammar Test
Daily English Quiz
English Test
Grammar Examination
ESL / EFL Test
Grammar Test
Antonyms
Synonyms
Homonyms
Vocabulary Examination
Word Analogy
Vocabulary Flashcards
Idioms
Idioms Quiz
Quantitative Aptitude Test
iQ Quiz Game
Verbal Reasoning Quiz - Mind Game
English Question Answer
Vocabulary Game 1
Vocabulary Game 2
Scramble Word Game
Common Mistakes
Confusing Words
Basic English Usage
English Grammar
Prepositions
English Phrases
Learn English
Word Game
Interview Questions and Answers
Educational Quiz Games