Whenever you choose an HTML element to mark up your content, your choice will fall into one of these categories:
- Element chosen is valid, semantically correct, and structural.
- Element chosen is indisputably wrong according to the validator (e.g.,
div
insidep
) - Element chosen is indisputably wrong according to a plain, uncontested reading of the spec, even if the validator passes it (e.g., using
div
instead ofp
) - Element chosen is presentational when a structural element could be used (e.g.,
tt
forsamp
) - Element chosen is structural but could be replaced with a structural element with better semantics (e.g.,
p
should really beaddress
) - Presentational element is chosen because the content does not suit itself to a structural alternative (e.g.,
b
andi
in marking up historical documents) - Element chosen is semantic but relies on sometimes-disputed interpretation of the spec (e.g., definition lists used to mark up dialogue)
- Element chosen is semantic but pushes the very limits of its definition in the spec (e.g., individual Weblog entries marked up as
li
) - Element chosen is generic (i.e.,
span
ordiv
) because no other element conceivably fits
Please make your selection now.