The highlighting tags were quickly and early replaced with <I>
and <B>
, which have served well since their introduction in
January 1993, and despite the style sheet replacements for them that have been
introduced, they continue to be of such considerable use that they are still
used today and still going concerns with XHTML 1.1. Perhaps their ease of use
and sheer brevity count for something, together with their usefulness. Let us
see the highlighted phrase examples from the calling file:
<P>Then I realized, <I>He had hidden the antidote in the other car!</I></P>
If your browser can't support these highlighted phrase tags, you either have
one which is extraordinarily ancient or else one that should be replaced. This
is the look the first example would have had if your browser could process
<HPn>
highlighted phrase tags:
Then I realized, He had hidden the antidote in the other car!
And this example shows how the highlighted phrase descriptions as they should have looked if only they had worked:
<DL><DT><HP0></DT><DD>This is for normal typeface, no italics and no bold (default, or no effect).</DD> <DT><HP1></DT><DD>This is for <I>italic</I> typeface.</DD> <DT><HP2></DT><DD>This is for <B>bold</B> typeface.</DD> <DT><HP3></DT><DD>This is for <I><B>bold italic</B></I> typeface.</DD></DL>
With these common tags, the following can now be simulated:
<P>Then I realized, <HP1>He had hidden the antidote in the <HP0>other</HP0> car!</HP1></P>
Using:
<P>Then I realized, <I>He had hidden the antidote in the </I>other<I> car!</I></P>
Then I realized, He had hidden the antidote in the other car!
And finally we can (using nested tags) get the combination of bold and italic
that <HP3>
was meant to achieve:
<P>"<I><B>HALT!</B></I>" he said.</P>
"HALT!" he said.
Nevertheless, style sheet replacements for these useful tags do exist and see here how they work:
<DL><DT><HP0></DT><DD>This is for normal typeface, no italics and no bold (default, or no effect).</DD> <DT><HP1></DT><DD>This is for <SPAN CLASS="ital">italic</SPAN> typeface.</DD> <DT><HP2></DT><DD>This is for <SPAN CLASS="bold">bold</SPAN> typeface.</DD> <DT><HP3></DT><DD>This is for <SPAN CLASS="itbo">bold italic</SPAN> typeface.</DD></DL>
The style sheet commands used to generate this are:
<STYLE TYPE="text/css"> .ital { font-style: italic; } .bold { font-weight: bold; } .itbo { font-style: italic; font-weight: bold; } </STYLE>
Next Level Up