Jump to content

creating simple "link to me" code


lessismore

Recommended Posts

I'm trying to create code folks can paste into their websites to link to my site. I'm thinking the simpler the better. Would appreciate any suggestions.Thanks -- Jami

<div align="center" style="font-family:arial; font-size: 12px; color:#000;"><a href="http://www.abreathof.com" style="color:#000; font-size: 12px; text-decoration: none;">abreathof.com  <img src="http://www.abreathof.com/moonicon.png" alt="abreathof.com" title="abreathof.com logo" border=0 height=19 width=19 style="vertical-align:top"></a>   featuring California Cabins, Beach Houses & Cottages</div>

Link to comment
Share on other sites

Most sites just have either an image link or a text link.

<a href="http://www.example.com">Website link</a>

<a href="http://www.example.com"><img src="http://www.example.com/images/link.png" alt="My website" title="My website"></a>

Link to comment
Share on other sites

Hi: Thanks for your response. Yes I noticed that, but I wanted to have html text for SEO purposes. And the image for marketing purposes... (That's why I didn't put the text in the image.) Is this a real no-no? And if it's OK, does my code look alright?Thanks! Jami

Link to comment
Share on other sites

The alt and title attributes of the image will serve for SEO purposes. Your current code is fine. Be sure it doesn't mess up the layout of the pages people put it on. Edit: actually, the align attribtue of the <div> element is deprecated in favor of CSS.

  • Like 1
Link to comment
Share on other sites

A simple link should be what ingolme gave you!EDIT: PS: The <div> is not necessary, since its just a simple link for any one (both those w/t html/css knowledge) to put on their site(s).

Edited by CodeName
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...