![]() |
eBay Store owners dedicated to sharing knowledge |
Creating Links |
| HTML uses <a> </a> anchor tags to create a link to another document. The <a> tag is used to create an anchor to link from, the href attribute is used to address the document to link to, and the words between the start and end of the anchor tag will be displayed as a hyperlink. All links will start with <a href=> and will end with </a>. I will use various examples below, giving you the html code in blue with the actual text or image URL I use in the examples in red text. |
| To create a clickable text link that opens in the same browser window <a href="http://www.ebay.com/">Click here</a> to go to eBay Will look like this: Click here to go to eBay The text inbetween the anchor tags is now a hyperlink. If you notice your cursor is an arrow, but when you move it over the hyperlink text, it becomes a hand. And if you click on the text, it now brings you to the eBay.ca website. |
| To create a clickable text link that opens in a new browser window <a href="http://www.ebay.com/" target="new">Click here</a> to go to eBay Will look like this: Click here to go to eBay This is the same example as above, but when the hyperlink is clicked, this will open a new browser window, try it. |
| Return |