How to add hyperlink of .html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add hyperlink of .html

8th Jan 2021, 3:50 AM
Divyansh Sharma
Divyansh Sharma - avatar
5 Answers
+ 4
It works just like any other links, you need to declare a path (if it does not share the same folder) and the documents name: <a href=filename.html>Link to my other html page</a>
8th Jan 2021, 3:56 AM
Qwerty Uiop
Qwerty Uiop - avatar
+ 4
Divyansh Sharma It is because you store the document you are linking in your own computer, so you should put all of your related documents (like images, html files, videos) that you are linking locally (that are stored on your computer) in a folder, and send that folder to your friend, then he should be able to access all the content. Try to launch your main document from the folder too and see if it works, the paths can still be invalid
8th Jan 2021, 4:10 AM
Qwerty Uiop
Qwerty Uiop - avatar
+ 3
Share the other .html file as well.
8th Jan 2021, 6:14 AM
Sonic
Sonic - avatar
+ 2
but when share to any friend it not show
8th Jan 2021, 4:06 AM
Divyansh Sharma
Divyansh Sharma - avatar
0
ok
8th Jan 2021, 6:35 AM
Divyansh Sharma
Divyansh Sharma - avatar