Tag Archives: html

How to show html code on a web page |php

When you are displaying the data into the website , sometime it is necessary to write the HTML code as it is. Specially when you are trying to explain the html code through the website. There are various way you can write but for me that i like the most :
1. Begin and end all tags with &lt and &gt
2. Or include that code in the textarea.
Simply
to insert a “<" you will have to type in &lt semicolon and for ">” type &gt semicolon in YOUR html code

that should do the trick, the ampersand and the semi-colon are both required
you will write like this < h1 > hi php fresher < /h1 >
Similar Links
1.Plus2net
2. Digital Point Forum
3. Web Master World