title: How to save HTML code in Sql Server database for correct display?
body: <p>My website is just like Stack Overflow and under development. I am using plain textarea to take text input as I do not have any WMD editor like Stack Overflow's.</p>
  
  <p>When I take HTML code as input and store it in database table in a text or <code>nvarchar(max)</code> column, it is stored successfully. But when I call that data for display, it displays the corresponding HTML page instead of that HTML code on screen. I am not able to resolve it. For better understanding I'm putting here input page and output page images of my website.</p>
  
  <p>This is image of input page:</p>
  
  <p><a href="https://i.stack.imgur.com/wrHCV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wrHCV.png" alt="enter image description here"></a></p>
  
  <p>This is the image of output page:</p>
  
  <p><a href="https://i.stack.imgur.com/wrHCV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wrHCV.png" alt="enter image description here"></a></p>
  
  <p>What is going wrong here ?</p>