cExams.net

Interview Questions and Answers

CSS

Question:
What are pseudo elements?
Answer:

Pseudo-elements are fictional elements that do not exist in HTML. They address the elements sub-part (non-existent in HTML) and not the element itself. In CSS1 there are two pseudo-elements:first-line pseudo-element and first-letter pseudo-element. They can be attached to block-level elements (e.g. paragraphs or headings) to allow typographical styling of their sub-parts. Pseudo-element is created by a colon followed by pseudo-elements name, e.g:
P:first-line H1:first-letter

--- >>>

CSS - Questions
1. How to customize your text boxes.
Answer
2. How can I specify two different sets of link colors?
Answer
3. What is two auto margins?
Answer
4. How do I make my div 100% height?
Answer
5. What is parent child selector?
Answer
6. How to use CSS to separate content and design ?
Answer
7. How do I have a background image that isnt tiled?
Answer
8. What is CSS3?
Answer
9. Explain in brief about the term CSS.
Answer
10. What are the various style sheets?
Answer
11. What is the use @keyframes in CSS3?
Answer
12. How do I have a fixed non scrolling background image?
Answer
13. What is cascade?
Answer
14. Why call the subtended angle a pixel, instead of something else ?
Answer
15. Why is it my hover declaration for links does not work ?
Answer
16. How do I place text over an image?
Answer
17. Why does Netscape lose my styles ?
Answer
18. How do you override the underlining of hyperlinks?
Answer
19. When is auto different from 0 in margin properties?
Answer
20. Explain inline, embedded and external style sheets.
Answer
21. What are pseudo elements?
Answer
22. Why use Style Sheets?
Answer
23. What is property?
Answer
24. How do I eliminate the blue border around linked images?
Answer
25. What is one auto margin?
Answer
26. List various font attributes used in style sheet.
Answer
27. What is attribute selector?
Answer
28. Which font names are available on all platforms ?
Answer
29. Describe about float element.
Answer
30. 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
31. Why do style sheets exist?
Answer
32. What are style sheet properties?
Answer
33. Why does my content shift to the left on some pages in FF?
Answer
34. What are Style Sheets?
Answer
35. What is latest version, CSS4 or CSS3?
Answer
36. Tell about hover element in CSS3.
Answer
37. Describe pseudo classes in CSS.
Answer
38. Can CSS be used with other than HTML documents?
Answer
39. How do I move the list bullet to the left and right?
Answer
40. What is grouping?
Answer
41. How can I specify background images?
Answer
42. Write different ways of styles applied in HTML file?
Answer
43. How do I write my style sheet so that it gracefully cascades with users personal sheet ?
Answer
44. what is Fixed Background?
Answer
45. Which set of definitions, HTML attributes or CSS properties, take precedence?
Answer
46. What are Cascading Style Sheets?
Answer
47. How do I center block-elements with CSS1?
Answer
48. What is CSS rule ruleset?
Answer
49. What are inline, block, parent, children, replaced and floating elements?
Answer
50. Can Style Sheets and HTML stylistic elements be used in the same document?
Answer
  • Tips to get ready for Group Discussion
  • Most Popular Animals
  • The Worlds Most Magnificent Mosques
  • Cure for Fever
  • Benefits of Cucumber
  • Most Iconic Bollywood Actress

  • Top Cricket Bowlers of all Time

    Rodney Hogg

    Blond and menacingly quick, he made his first Test appearance against England in the 1978 79 series, taking advantage of the absence of his more well known compatriots at the World Series to take a stunning 41 wickets in the six Tests, including six for 74 on his Ashes debut. Did not shine in England in the 1981 series, but took 11 wickets in three Tests in 1982 83 as Australia regained the Ashes, leaving him with a very respectable 56 wickets at 17 apiece against England.


    Chourishi Systems