How to display this jquery as bold
<p>Simple question which I cannot actually figure out how to solve, how can I make <code>.text(totalweight)</code> to be displayed as bold?</p>

<p>Below is the code:</p>

<pre><code>$("#total-weight").text(totalweight).append('%');
</code></pre>

<p>Thanks</p>
