HTML Code - adding html code to site
Hi,
I am trying to add a page on my site that offers banners for others to copy and put on their site. I also want to supply the correct code for them to just copy and paste onto their site.
Does anyone know how to show this html code on the webpage without a browser actually reading the code and converting it?
Thanks!
Chris
fairhousing posted this at 22:57 — 3rd August 1999.
They have: 1,587 posts
Joined: Mar 1999
use < in place of <
heck never mind that, can't get this board not to recognize the code i'm putting in. just go to birminghamnet.com and check out the code for the "link to birmigham" page.
good luck
----------
Isn't it time you started making money with your site!
http://www.birminghamnet.com/cgi-bin/links/pages/WebmasterResources/MakingMoney
Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?
John Pollock posted this at 23:52 — 3rd August 1999.
He has: 628 posts
Joined: Mar 1999
Like fairhousing said, in place of a < use the escape:
<
----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com
Java Script: A Beginner's Guide
Page Resource
chris posted this at 20:34 — 4th August 1999.
They have: 76 posts
Joined: May 1999
Thanks for the help guys! It works great.
By the way, it is great to see the e-mail notification feature working. It is a Big Plus!
jodys posted this at 00:24 — 5th August 1999.
They have: 88 posts
Joined: Jun 1999
place all the code you want to display between <xmp> and </xmp>
----------
e n d u r a d e z i n e
endura.co.nz
chris posted this at 00:51 — 5th August 1999.
They have: 76 posts
Joined: May 1999
Jodys,
Is the <xmp> tag a better way to do is versus the alternate way stated earlier? Can all browsers read both versions?
I just set up my page using the other method and am wondering if it is worth changing it.
Thanks,
Chris
jodys posted this at 01:45 — 5th August 1999.
They have: 88 posts
Joined: Jun 1999
its works great for me.. all you need is the two tags. you don't need to put < and > where you want to show a tag... I am not sure if it works with all browsers youll have to look into it
an alernative woul be to use a text box..
<textarea name="none" cols="30" rows="4" wrap="OFF">
your HTML here
</textarea>
----------
e n d u r a d e z i n e
endura.co.nz
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.