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=https://www.plus2net.com&gt;HTML Tutorials&lt;/a&gt;
The above line when displayed by the browser it will display this

<a href=https://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

HTML to PHP converter Demo of HTML converter

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com







    smo1234

    19-03-2012

    good script, I am using this regularly
    Sam

    10-03-2013

    "Great Code" to make a website with HTML tutorials like this website
    marv

    27-09-2013

    thanks, it works very well and is a nice timesaver for displaying snippets online
    Jay

    04-10-2013

    Very helpful, thanks.
    Mayesh

    22-11-2013

    It is very useful
    Thankq plus2net
    Connie

    10-09-2014

    Thank you so much. What a time saver!
    Shiju

    30-09-2014

    This is really good..Thanks..!
    Andy

    14-11-2014

    Very useful tutorial. Saved so much time. Thanks...!
    Rajesh

    29-04-2015

    Awesome tool .... Saved so much time ... Thanks !!!!

    Post your comments , suggestion , error , requirements etc here




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer