Michael Thin Michael Thin - 1 year ago 73
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)

Answer Source

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>

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download