I'm trying to add a HTML link in an ebay auction so people that view the auction can just click on it instead of copying and pasting. This is the link: http://www.pbreview.com/products/reviews/3956/ Could someone please tell me what HTML code I have to add to the link so it will turn blue in the auction so people can click on it. Thank you.
It should be <A HREF="http://www.pbreview.com/products/reviews/3956/">http://www.pbreview.com/products/reviews/3956/</A>
Code: <a href="http://www.pbreview.com/products/reviews/3956/">http://www.pbreview.com/products/reviews/3956/</a>
Thanks guys. I'm a little rusty. I forgot I had to include what I actually wanted to be displayed... without that it was just making it disappear. Thanks again.
Sorry, but I have another question. Is there a way to make it so when they click on the link it opens the link in a new window instead of navigating away from the auction page?
Yes. Add: target="_blank" to your anchor tag. Your code would then look like this: Code: <a href="http://www.pbreview.com/products/reviews/3956/" target="_blank">http://www.pbreview.com/products/reviews/3956/</a> -monkey
Now here's a random question... Is there code like the target="_blank" to open the link in a new Firefox tab?
I'm not entirely sure about that one. The way Firefox works on my machine, it takes any (target="_blank") attribute and loads the page in a new tab. But, I have Firefox set up to open new windows in tabs, configured from the Tools>Options>Tabs menu. Your mileage may vary. EDIT: I should mention that there are only 4 officially recognized "Target" attributes: _Self, _Parent, _Top, and _Blank. Others may exist, but support is sketchy. -monkey
There shouldn't be. It would make the code browser-specific rather than W3-compliant and the fan-boys would get upset. But the actual user can pick & mix how and where a link opens. On mine, middle-click will force a new tab even without 'target="blank"'.
Since most of the big browsers support tabs now, I'm surprised that there's not a defacto standard of _tab or something.