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.
<a href=http://www.plus2net.com>HTML Tutorials</a> 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
|