Help - Search - Members - Calendar
Full Version: Banner Html Code On Website
MonsterSmallBusiness Forums > MonsterWebDesign > Designing Your Storefront
flyingsouth
How can I get the HTML code for my banner on my link exchange page for other people to copy without the graphic showing up? Every time I put the html code they need, the graphic keeps showing up instead of the code. I tried putting it in the <q> tag and that didnt work.

The code is something like this:

Copy this html to add our banner to your website:

<a href="http://www.thepinkbird.com"> <img src="http://www.thepinkbird.com/images/banner.gif">


Thanks.
ArcoJedi
Flyingsouth,

When adding code to a page that you want to display AS CODE rather than render, you want to replace the <> with &lt; &gt;. So for instance, rather than adding this -
CODE
<a href="http://www.thepinkbird.com"> <img src="http://www.thepinkbird.com/images/banner.gif"></a>
- you would add this -
CODE
&lt;a href="http://www.thepinkbird.com/"&gt; &lt;img src="http://www.thepinkbird.com/images/banner.gif"&gt; &lt;/a&gt;
I hope this helps.
flyingsouth
I tried that, but part of the text is deleted on the page. It looks like this:

<a href=""> <img src="images/banner.gif">

Could you please help me with what is wrong?
flyingsouth
Bump
tahj1024
Hey I actually doing the same thing right now. create a text area as if u were creating a form then place the code inside the text area. at first it might look like it didn't work if u are using dreamweaver but it will show correctly in a browser.

<textarea name="textarea" cols="65" rows="3"> CODE HERE </textarea>

to change the width edit that 65 and the 3 is the height (lines of text to display with out scrolling)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.