I have this text:
var text = "some instructions";
I want to set to the text some style and then I want to put it to DOM. So I have tried this:
var text = '"<font size="6">This is some text!</font>"';
But I am not getting the desired result. The text is not changed and I getting html tags being displayed as text.
Any idea on how to add html to the text and then add it to the DOM
?