- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Thu, 13 Oct 2005 12:02:43 +1000
ROBO Design wrote: > The suggestion with which James came up is really good, but the FOR > attribute should allow more than one IDs. Here's why: a quiz can have a > question which allows multiple answers. It could possibly be defined as IDREFS instead of IDREF, but what's wrong with just using multiple ref elements? e.g. <p>The answers are <ref id="foo">a</ref> and <ref id="bar">b</ref>.</p> That would also be much more flexible for user agents to do something with. For example, activating each ref element could highlight the associated element in some way, or it could be activated like a link to #foo and then be styled using the :target pseudo-class. With multiple IDs, such behaviour may not be so easy. -- Lachlan Hunt http://lachy.id.au/
Received on Wednesday, 12 October 2005 19:02:43 UTC