How to Display HTML code on Web Page?
To display html tags in html format we have to use different ways. You can convert your html code in html special Characters to show tags into you Page. After convert special Characters you use <pre>. The <pre> tag is quite useful for displaying organized code. Otherwise your html code display in one line.