Short web standards quiz

Q1. What does "semantics" mean in the context of web development?

  1. To use CSS for layout instead of tables
  2. To validate your page according to a given W3C specification
  3. To use the most appropriate HTML tags for your content

Q2. Which was the next CSS specification released after CSS2?

  1. CSS3
  2. CSS2.1
  3. CSS2.0

Q3. In context of content, presentation, and behaviour. What language is appropriate for the behaviour?

  1. CSS
  2. XHTML
  3. Javascript

Q4. If you want to mark that a certain word is short for something longer, which HTML tag should you use?

  1. <acronym>
  2. <abbr>
  3. <em>

Q5. Which of the following is NOT possible to do with W3C's CSS2?

  1. Change the color of the scrollbar
  2. Make a div fill the whole height of the page
  3. Change the distance between lines of text in a paragraph

Q6. One of the following is a valid doctype, which one?

  1. HTML 4.01 Quirks mode
  2. HTML 4 Standards mode
  3. HTML 4.01 Strict

Q7. W3C's validator (with XHTML 1.0 Transitional doctype) would let through one of the following lines. Which one?

  1. <adress>Sesame street 34Germany</adress>
  2. <font color="red">Hello</font>
  3. <em><table><tr><td>Data</td></tr></em></table>

Q8. The much awaited CSS3 specification includes the following feature:

  1. An easy way to add shadows to your text
  2. A way to open windows in new tabs
  3. Possibility to animate (move) text and images

Q9. Which of the following is valid CSS2?

  1. display: inline-block;
  2. *
  3. _width: 300px;

Q10. Which of the following is NOT valid CSS2?

  1. p:first-letter
  2. * html #container
  3. tr:nth-child(2n) td

Are you uncertain about any of the questions? Just post a comment and I'll answer. (You can also use the comments just to show off or points out errors of course :).