Rendering HTML stored in database as nvarchar

I have been trying to figure this out for a few days. I was able to update my app to allow the user (me) to input HTML code into a text field and update that info to the database. However, the problem is, when I then try to display that information, the HTML is not rendered but is showing as raw HTML.

I have searched this site for an answer to this but have been unable to.

I need the HTML to be rendered so that my CSS and JavaScript can do their thing and format the elements.

If anyone can point me in the right direction on this it would be great as it would be impossible for me to hard code the HTML into the view directly.

Example would be

<span id="{1c}}></span>

javascript/css will fill in the blank. However, the HTML is displayed just as it shows and not as blank space. Again, this is just an example.