title: How to add bold text using javascript
body: <p>I'm trying to add bold text to my website using javascript, but it literly shows the <code>"&lt;b&gt;"</code>. How do i fix this?</p>
  
  <pre><code>var TextBox = document.getElementById("TextBox");
  
  TextData.textContent = "&lt;b&gt; hello &lt;/b&gt;"
  </code></pre>
  
  <p>I tried using the <code>document.write("");</code> , but it changes the whole website. Any Suggestions?</p>