Content model of MAP element (was Re: Stupid)

The HTML 4.0 specification defines the content model of the MAP element
as:

<!ELEMENT MAP - - ((%block;)+ | AREA+)

On my interpretation, this means that MAP can contain either one or more
block-level elements, or one or more AREA elements, but not a mixture of
AREA and block-level elements. My understanding is that the SGML | symbol
represents an exclusive or, from which this conclusion follows
straightforwardly.

Thus, the implication appears to be that <map> <p> [navigational links]
</map>
would be valid, but as Daniel pointed out, there remains a question of
backward compatibility, which can be easily and quickly tested.

Received on Tuesday, 17 November 1998 01:34:32 UTC