0

How do I create a link?

I learned how to create a link this year, but a took a 2-month break from coding, finding other interests in life. I got bored one day and wanted to try something. In order for that to happen, I need to code a link. For any responses, please no links to the website. Just write down the code. I know it's not that long Is this right? <link url=www.google.com>(This is what the link says)</link>

3rd Dec 2017, 9:36 PM
Katherine
Katherine - avatar
4 Answers
+ 4
<a href="http://www.google.com/"target="_blank">Visit Google </a> I prefer this way.
3rd Dec 2017, 9:45 PM
Elias Papachristos
Elias Papachristos - avatar
+ 2
If you want the user to stay in your site then you can also code : target: "_blank" Then your link will open in another tab.
3rd Dec 2017, 9:42 PM
Elias Papachristos
Elias Papachristos - avatar
+ 1
@Elias Papachristos Is that the right code I posted, though?
3rd Dec 2017, 9:42 PM
Katherine
Katherine - avatar
+ 1
@Elias Papachristos Thank you so much!!!
3rd Dec 2017, 10:31 PM
Katherine
Katherine - avatar