0

Please could someone let me know how to code links to other files in HTML within CS50 IDE which would form additional sheets within a website? I know how to code links to external sites but can't fathom how to do this for any of my own CS50 IDE creations.

I am doing the CS50B online course so I am a bit isolated and any help would be much appreciated.

Thanks.

0

If your other html files are all in the same folder, then you can simply use the filename.

let's say I have a folder and inside that is index.html and page2.html. I can then have this in index.html:

<a href = "page2.html">Go to Page 2</a>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .