title: How to change the background color of certain text in javascript
body: <p>I have an issue in JavaScript I need to change the back ground color of the text.
  I am printing an coupon in JavaScript it works fine I am using an white paper to print</p>
  
  <p>ex:Format how the output recipt will look</p>
  
  <pre><code>***********************
  Shopping  center
  
  amount :3450
  
  Foodworld one store
  India
  ************************
  </code></pre>
  
  <p>now I need to change background color of the text Foodworld to one store to Red and  text  color  to  black. How can I achieve this in JavaScript?</p>