top left
The HTML Source Logo


 html
Top Right
    
 Getting StartedHow Do I...TroubleShootingPromotionContact Us
 html
HTML
SEARCH THE SITE
advanced search



CATEGORIES
Home
Getting Started
HTML Cheat Sheet
Webmaster Tools
HTML Help Forum
Color Codes
Link to us









































bottom
HTML HTML HTML HTML
How do I add HTML codes on my web site?


Have you ever wanted to show a code on your website? But how can you show an HTML code, if you place the code on your site it wont show up! We have the solution:

Instead of using a < sign, use the code &lt;
Instead of using a > sign, use the code &gt;
If you use these codes instead of placing the beginning < and ending > the browser will not format the code, and instead just display it on your page.

So for example, if I wanted to show this code on a page:

<BODY bgcolor="#000000">
My code would look like this:
&lt;BODY bgcolor="#000000"&gt;




































Company   |   Careers   |   Partners   |   Advertising   |   Help
Privacy Policy   |   Trademark Notices   |   User Agreement
© 2001 TheHTMlSource.com, INC. All Rights Reserved.



Site hosted by Angelfire.com: Build your free website today!