I'm making a website, I don't know the proper command for making links.

0 votes
asked by about HTML-Kit
edited by

I'm making a website, I don't know the proper command for making links.

2 Answers

0 votes
No avatar answered by (140 points)

where x put URL

0 votes
No avatar answered by (2k points)
edited by

Depending on what word, phrase or image/button you want the link to be , implementing a link using HTML is not very hard. For example, creating a classic "click here" you will need to embed the following code:

click <a href="http://www.yourlink.com">here</a>.

Now only the "here" word is bound with the link, if you want the hole text , simply move it inside the code, for example:
<a href="http://www.yourwebsite.com">Your text that will reach the link</a>

To add a link to an image/button, things don't really go that far:

<a href="http://www.yourlink.com"><img src="yourimage.jpg"></a> 

If your image is not in the same directory(folder) with the page you're embedding this code on, you will need to add the full location of "yourimage.jpg", for example:

<a href="http://www.yourlink.com"><img src="http://www.yourwebsite.com/images/yourimage.jpg"></a>

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...