lessismore Posted June 5, 2012 Share Posted June 5, 2012 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 More sharing options...
Ingolme Posted June 5, 2012 Share Posted June 5, 2012 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 More sharing options...
lessismore Posted June 5, 2012 Author Share Posted June 5, 2012 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 More sharing options...
Ingolme Posted June 6, 2012 Share Posted June 6, 2012 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. 1 Link to comment Share on other sites More sharing options...
eTianbun Posted June 6, 2012 Share Posted June 6, 2012 (edited) 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 June 6, 2012 by CodeName 1 Link to comment Share on other sites More sharing options...
lessismore Posted June 11, 2012 Author Share Posted June 11, 2012 Thanks all! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now