+ 1

How to link one page to another in html

23rd Mar 2018, 6:54 PM
Sumit kumar
Sumit kumar - avatar
10 Antworten
+ 2
On SoloLearn, id recommend putting the separate “pages” into divs and just making them appear or disappear using JavaScript and css
23rd Mar 2018, 7:04 PM
Ariela
Ariela - avatar
+ 2
<a href=“page.html”>Link</a>
23rd Mar 2018, 7:05 PM
dieserrapha
dieserrapha - avatar
+ 1
Use a link <a href=“page.html”>Link</a>
23rd Mar 2018, 7:02 PM
Ariela
Ariela - avatar
+ 1
in sololearn it doesn't work
23rd Mar 2018, 7:03 PM
Sumit kumar
Sumit kumar - avatar
+ 1
i try it
23rd Mar 2018, 7:03 PM
Sumit kumar
Sumit kumar - avatar
+ 1
Oh I meant, for actual coding I don’t know if it’s possible on SoloLearn. You can only link to the code
23rd Mar 2018, 7:04 PM
Ariela
Ariela - avatar
+ 1
can u make one linking page and send
23rd Mar 2018, 7:05 PM
Sumit kumar
Sumit kumar - avatar
+ 1
You can have one very long page, and link to divs further down the page. If you add in a transition it can smoothly scroll down to that section. Don't forget to have a floating button that takes you back, or have navbar that is fixed.
23rd Mar 2018, 9:32 PM
Mike Choy
Mike Choy - avatar
0
Linking from one page to a another is exactly the same as links to web pages
23rd Mar 2018, 7:02 PM
Ariela
Ariela - avatar