Michael Thin Michael Thin - 5 months ago 8
HTML Question

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

How do you write

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

Answer

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>