Wednesday, June 29, 2011

Trick to Display HTML Code on Blog

All of our HTML code is enclosed in angle brackets"<>" we just need to replace these brackets with some alternative of these so we can use &lt; for < and &gt; for > when we replace these in all of our HTML code now on the page it'll show as we want it to show but not rendered by the browser......


Example:
<a href="http://afzal-gujrat.blogspot.com/">Muhammad Afzal</a>
&lt;a href="http://afzal-gujrat.blogspot.com/"&gt;Muhammad Afzal&lt;/a&gt;

No comments:

Post a Comment