QuirksBlog - ToughQuiz

ToughQuiz entries.
Part of Theory.

ToughQuiz VIII - Practical version switching

Permalink | in IE, ToughQuiz
37 comments (closed)

Now that the versioning switch debate is in full swing (see the IE page of my linkblog for a partial overview), I'd like to move attention from lofty goals and aspirations that may or may not be trampled by the new switch to everyday practicalities.

So here's a quiz for you. Please assume that at some point in the future the following will be the case:

continue reading

ToughQuiz VII - The semantics of subtitles

Permalink | in ToughQuiz
56 comments (closed)

Currently I'm working on the HTML of a ministry site, and I encountered one persistent problem that I don't know the "right" answer to: subtitles. Which tag do we use for them? A header, or not? I don't really know, and I'd like to ask your opinion.

continue reading

ToughQuiz VI - Should interview answers be marked up with a <blockquote>?

Permalink | in ToughQuiz
48 comments (closed)

The website of a Dutch ministry has been tested for compliance with the Web Guidelines. I have been asked to supply a second opinion, which I'm currently writing. I came across a complicated semantic point that I'm not quite sure of; hence I'd like to ask your opinion.

continue reading

ToughQuiz V

Permalink | in ToughQuiz
28 comments (closed)

A document uses XHTML 1.0 Strict. It contains a few <blockquote>s, and in Strict they are not allowed to have text nodes as children. Instead, any text in the element should be marked up in a block level element, for instance <p>. Initially the document satisfies this requirement.

After the document has loaded a script similar to Simon Willison's Blockquote Citations runs in the document and adds the content of the cite attribute of each <blockquote> to the visible text of the quote. Due to an oversight of the programmer the script does not put this text in a block level element of its own. Now the <blockquote> has a text node as a child.

continue reading

ToughQuiz IV

Permalink | in ToughQuiz
19 comments (closed)

Again a question about foldout menus. These menus fold out when the user mouses over a main link that contains a submenu. This is a sacred tradition, and therefore mandatory: users who know these menus expect them to work onmouseover, and will get confused when they don't.

The question for today is: when should the submenus fold in? You can pick more than one answer.

continue reading

ToughQuiz III

Permalink | in ToughQuiz
25 comments (closed)

While creating a mainstream site, the development team discusses ways and means of adding a foldout menu to the site. There are four opinions. Which one is correct?

continue reading

ToughQuiz II

Permalink | in ToughQuiz
16 comments (closed)

Two questions revolving around the :after{content: } construct. There are three possible answers that apply to both questions. Remember that this construct doesn't work in all browsers.

continue reading

ToughQuiz I

Permalink | in ToughQuiz
23 comments (closed)

A product page contains many products and their descriptions, plus one element with an order form. A script hides the order form by means of element.style.display = 'none'. Does this action change the page structure?

continue reading

This is the blog of Peter-Paul Koch, mobile platform strategist, consultant, and trainer. You can also follow him on Twitter.

Upcoming speaking gigs:

(Data from Lanyrd)

Atom RSS

Categories:

Monthlies: