How to create a banner ad , I already have a gif

  spot the braincell 11:16 11 Sep 08
Locked

I want to choose a few compatible sites with whom I can swap a banner ad but first I need to create it.

I already have a gif on my hard drive for the ad, Do I need to load this to my site for the swapper to be able to locate or can I just send it to them

Also can anyone provide the html I need that would go with the gif such that anyone clicking on the gif would be redirected to my site.

cheers

  MAJ 17:51 11 Sep 08

1. You can do either.

2. <a href="address of your site.htm">
<img src="your banner.gif" width="???" height="??" alt="my site">
</a>

  spot the braincell 18:02 11 Sep 08

Thanks MAJ,

assuming I load everything on my site,

1) on the img src bit do I replace the 'your banner.gif' bit with the full path for the gif on my site and
2) on the 'alt' bit, is the bit in quotes (my site) free text and if so where would it show if anywhere i.e. what sort of thing should I enter?

cheers

  MAJ 18:33 11 Sep 08

Hi spot the braincell. Sorry I've noticed a typo in my answer, it should read:

2. <a href="address of your site">
<img src="your banner.gif" width="???" height="??" alt="my site">
</a>

Now to your second post:

1. If the other person uploads your banner to his/her site, then the path will be the path to where it's stored on their site. If the banner remains on your site, then the path will be the address of the banner on your site.

2. The alt text will show on a mouse over or if the image doesn't load for some reason. The text can be whatever you like, the name of your site for example.

  MAJ 18:42 11 Sep 08

......and as Firefox wont show alt text you should also use "Title"....

<a href="address of your site">
<img src="your banner.gif" width="???" height="??" alt="my site" title="my site">
</a>

  spot the braincell 19:29 11 Sep 08

Hi MAJ,

thanks for your help I'm now fully armed, much appreciated

spot

  MAJ 11:00 12 Sep 08

Happy to help, spot the braincell.

This thread is now locked and can not be replied to.

Surface Pro (2017) vs Surface Pro 4

Where HTML5 is headed next

MacBook Pro v Surface Pro 5