|
I'm guessing because they were inconsistently supported by browsers, because me too! I was even more surprised to see it in the HTML 4.01 spec, but if you look it makes more sense. I'll quote every mention of it here but the table of contents line: 9.2.1 Phrase elements: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ABBR, and ACRONYM
<!ENTITY % phrase "EM | STRONG | DFN | CODE |
SAMP | KBD | VAR | CITE | ABBR | ACRONYM" >
SAMP:
Designates sample output from programs, scripts, etc.
CODE is equally well defined -- neither even mention monospace!> The other phrase elements have particular significance in technical documents HTML never ceases to amaze me. This also explains why I still prefer <pre> even though I can never remember why it's <pre> and not <code>. Almost forgot the link: https://www.w3.org/TR/html401/struct/text.html#h-9.2.1 |
Edit: props for citing the actual HTML 4.01 SGML DTD!