How can I link two pages in HTML in SoloLearn? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответов
+ 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