SQL PHP HTML ASP JavaScript articles and free scripts to download

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 &lt; , same way to display greater than character > we have to use &gt; So to display the code of a link pointing to plus2net.com we have to write like this.

Refresh this page
&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

Line breaks not requried

Google+
Subhendu19-03-2012
good script, I am using this regularly
Sam10-03-2013
"Great Code" to make a website with HTML tutorials like this website
marv27-09-2013
thanks, it works very well and is a nice timesaver for displaying snippets online
Jay04-10-2013
Very helpful, thanks.
Mayesh 22-11-2013
It is very useful

Thankq plus2net
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked



Join Our Email List
Email:  
For Email Newsletters you can trust
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer