How can I link two pages in HTML in SoloLearn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

How can I link two pages in HTML in SoloLearn?

There will be a first page and there will also be a button when I will click on the button then the other page will be opened. If you have any code like my demand please share that with me ๐Ÿ˜Š

6th Aug 2019, 10:48 AM
AL Araf
AL Araf - avatar
4 Answers
+ 8
You should make a link to your second page in html, and in CSS to form as a button. <a href="link address"> text </a>
6th Aug 2019, 11:41 AM
Anna/ะะฝั
Anna/ะะฝั - avatar
+ 5
Thank you guys for answer... Now I have to try. If I need any further info I will ask you......๐Ÿ˜‡๐Ÿ˜‡
6th Aug 2019, 11:48 AM
AL Araf
AL Araf - avatar
+ 4
Maybe with javascript? When you click button, the display of first page will be set to "none" and the display of second page will be "block".
6th Aug 2019, 11:40 AM
๐Ÿ‡ Alex Tuศ™inean ๐Ÿ’œ
๐Ÿ‡ Alex Tuศ™inean ๐Ÿ’œ - avatar
+ 3
Using the anchor tag.
7th Aug 2019, 8:47 AM
Sonic
Sonic - avatar