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

add another html page

Hi there! I want to add another html page to my main html pg so if anyone click the sign in in the main pg, the browser opens the other html pg I coded....can u guide me pls?

1st Apr 2018, 6:42 PM
melika
melika - avatar
5 Answers
0
Thanks Julien, you copied my answer format. :) Anchor tag, here since HTML1. <a href="myotherpage.html">next page click me</a> Cross-directory... <a href="folder/myotherpage.html">lets gooooo</a>
1st Apr 2018, 6:48 PM
ghostwalker13
ghostwalker13 - avatar
+ 3
i didnt copy it but thanks
1st Apr 2018, 7:45 PM
TrueJu
TrueJu - avatar
+ 2
you have to create a link wich will open the path where the other html file is saved. Example: <a href="index2.html">fnfkfk</a> If you have it inside an other folder just insert the path before the file name, like this: <a href="/folder/index2.html"><click me!</a>
1st Apr 2018, 6:46 PM
TrueJu
TrueJu - avatar
+ 2
that link , <a href= ></a> is known as hyperlink, you can learn about that.
1st Apr 2018, 7:56 PM
Harshit Jain
Harshit Jain - avatar
+ 1
tnx all
2nd Apr 2018, 1:37 PM
melika
melika - avatar