Michael Thin Michael Thin - 8 months ago 30
HTML Question

How do you write <p></p> and display it on your site?

How do you write

so that it can be displayed as text in an html page, rather than be processed as html (which would give an empty paragraph)


If you want to show the

in the view, Because, when you type that inside html element, it may be getting it as the html element itself.

if your purpose is showing that in the view just try this. &ltp> &lt/p> Check this snippet :

&ltp> &lt/p>