Thanks for the reply Bruce but unless I missed something, that didn't solve my problem.
When I add styles to a block of text using that code snippet I get something like this...
<FONT class=Heading>testing</FONT>
But what I want is
<FONT style="somestyle">testing</FONT>
That's what I mean by using "style" rather than "class". Sorry if there was a misunderstanding.