Forum Moderators: open
* One: Your example is the correct HTML nested tag approach. The tag opened last is closed first, the tag opened first is closed last and <b></b> definitely bolds the font.
* Two: The alternative is to use CSS.
For example:
CSS:
a {font-weight: bold;}
<a href="joeschmo.html">joe schmo</a>
Note: If only some <a>text</a> is to be displayed bold invoke one or more classes.
For example:
CSS:
a.boldtext {font-weight: bold;}
a.redtext {color: red;}
<!-- anchor text is the same as surrounding text -->
<a href="joeschmo.html">joe schmo</a><!-- anchor text is bold -->
<a class="boldtext" href="joeschmo.html">joe schmo</a><!-- anchor text is red -->
<a class="redtext" href="joeschmo.html">joe schmo</a><!-- anchor text is both bold and red-->
<a class="boldtext redtext" href="joeschmo.html">joe schmo</a>
[edited by: tedster at 1:12 am (utc) on Jan. 24, 2005]
[edit reason] fix typos in the HTML [/edit]