css

Interview Questions and Answers

CSS

Question:
What is CLASS selector?
Answer:

Class selector is a stand alone class to which a specific style is declared. Using the CLASS attribute the declared style can then be associated with any HTML element. The class selectors are created by a period followed by the classs name. The name can contain characters a-z, A-Z, digits 0-9, period, hyphen, escaped characters, Unicode characters 161-255, as well as any Unicode character as a numeric code, however, they cannot start with a dash or a digit. (Note: in HTML the value of the CLASS attribute can contain more characters).It is a good practice to name classes according to their function than their appearance.
.footnote {font: 70%} /* class as selector */ This element is associated with the CLASS footnote

--- >>>

CSS - Questions
1. 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
2. Document Style Semantics and Specification Language "DSSSL"?
Answer
3. What does the Cascading in Cascading Style Sheets mean?
Answer
4. What is selector?
Answer
5. What is CSS declaration?
Answer
6. What is cascade?
Answer
7. Are Style Sheets case sensitive?
Answer
8. What is latest version, CSS4 or CSS3?
Answer
9. What`s the difference between ID and class selector?
Answer
10. Describe pseudo classes in CSS.
Answer
11. What are the various style sheets?
Answer
12. What is parent child selector?
Answer
13. Why do style sheets exist?
Answer
14. How do I have a background image that isnt tiled?
Answer
15. What is CSS rule ruleset?
Answer
16. What is external Style Sheet? How to link?
Answer
17. How do I eliminate the blue border around linked images?
Answer
18. Why call the subtended angle a pixel, instead of something else ?
Answer
19. Can CSS be used with other than HTML documents?
Answer
20. Can Style Sheets and HTML stylistic elements be used in the same document?
Answer
21. What are pseudo classes?
Answer
22. Why is it my hover declaration for links does not work ?
Answer
23. Why does Netscape lose my styles ?
Answer
24. Which font names are available on all platforms ?
Answer
25. How can I specify two different sets of link colors?
Answer
26. How do you override the underlining of hyperlinks?
Answer
27. How does a simple CSS style rule look ?
Answer
28. How do I move the list bullet to the left and right?
Answer
29. What is two auto margins?
Answer
30. What is important declaration?
Answer
31. What are pseudo elements?
Answer
32. Describe ID selector?
Answer
33. Are you pro or against Flash?
Answer
34. Describe about float element.
Answer
35. List various font attributes used in style sheet.
Answer
36. Explain inline, embedded and external style sheets.
Answer
37. What are Cascading Style Sheets?
Answer
38. How do I center block-elements with CSS1?
Answer
39. What are inline, block, parent, children, replaced and floating elements?
Answer
40. How do I have a fixed non scrolling background image?
Answer
41. How can I specify background images?
Answer
42. What is attribute selector?
Answer
43. How to customize your text boxes.
Answer
44. How do I place text over an image?
Answer
45. What is a Style Sheet?
Answer
46. What is embedded style? How to link?
Answer
47. what is Fixed Background?
Answer
48. What are Style Sheets?
Answer
49. Which set of definitions, HTML attributes or CSS properties, take precedence?
Answer
50. How to use CSS to separate content and design ?
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