0

How can I render raw HTML?

For example, render <span>inner text</span> as is in <div>Render this raw <span>inner text</span></div>

Program-Me-Rev
  • 6,184
  • 18
  • 58
  • 142
  • what do you mean with render raw HTML? You need a programm that can read HTML like a browser. Or do you mean showing HTML codelines without having them parsed like here: https://stackoverflow.com/questions/2820453/display-html-snippets-in-html ? – tacoshy Mar 13 '21 at 07:40
  • 1
    Your question is not really clear. Can you explain it a little bit more? – Denis Omerovic Mar 13 '21 at 07:41
  • I assume you will need to pick a templating framework and use that. There are very very many choices. ReactJS is popular at the moment for client-side templating. For server-side, it depends on what backend you are using. – xdhmoore Mar 13 '21 at 07:42

0 Answers0