4
Answers

How to display HTML code without rendering or converting?

Ellen Hu

Ellen Hu

15y
5.5k
1
Hi All, I had saved a html code to database, and I want to display this code at UL without rendering, meaning needs to show all the HTML tags. sample: Hello in DB, and I want to see Hello at UL instead of bolded "Hello" How can I attrive it? Literal & Label will auto render this HTML code to be bolded "Hello". Thank you in advance for your time.
Answers (4)