SQL PHP HTML JavaScript articles and free code
 

Converting html tags to display in web pages.

We can’t display html tags as it is to get displayed in the browser. Say for example you want to give html code to your visitor to place a link in their web site, pointing to your site. To display html tags in html format we have to use different ways. Browser will not display any thing within less than and greater than symbols. Browser will not display < character as it is. To display symbol < we have to write < , same way to display greater than character > we have to use > So to display the code of a link pointing to plus2net.com we have to write like this.







&lt;a href=http://www.plus2net.com&gt;HTML Tutorials&lt;/a&gt;


The above line when displayed by the browser it will display this

<a href=http://www.plus2net.com>HTML Tutorials</a>

We also have to take care of line brakes. We have to use <br> tag in place of line breaks.

Here is a code generator which will convert your html tags to web page friendly display. Paste any html code here and copy the code printed above it


Discuss this tutorial at forum

List of HTML Tutorials

 

Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.

Scripts
PHP
JavaScript
List of HTML Tutorial
HTML Tags
Color Chart
HTML Calendar
Tags on web page
Web Design
Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.