How to hyperlink other website in html after using <a href> function ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to hyperlink other website in html after using <a href> function ?

Hyperlinking

19th Sep 2020, 8:26 AM
Shivankur Sharma
Shivankur Sharma - avatar
2 Answers
+ 1
First of all take a anchor tag means <a></a> tag.then do it: <a href="the url of the site or path of your local file" target="where you want to open the page.the value is- _blank">Now the name whom you want to show in browser window</a>. Play with code.thank you.
19th Sep 2020, 10:01 AM
MinhAj RahmAn
MinhAj RahmAn - avatar
+ 11
<a> tag defines links to other pages : Obtain url of any website and put it in given below : <a href="url of website"></a> ⬆️ Put your url in the place of it . it will blue and underlined you can remove underline using css
19th Sep 2020, 8:37 AM
ANMOL
ANMOL - avatar