Multi Page Website
Hey I'm a noob at this and im trying to make a multi page site for a project can someone help me out?
Yes! You're going to want to create multiple HTML files. If you don't know how to do that:
Now, to allow the user to switch between files, we are going to use hyperlinks. This is using the
<a> tag. It will look like this:
<a href="YOURFILENAME.html">My Link</a>
This will add "My Link" to your page as a link that you can click to redirect to "YOURFILENAME.html".
The rest of this is a bit more advanced if you're just trying to add more files.
Keep in mind that if you would like to use folders, you'll have to do
href="foldername/filename.html" to tell the browser to go to the folder.
If you want to link from inside a folder to something out of a folder, use
.. will go back a folder. (If you're in
folder1/folder2/page.html you will leave folder2 and go back to folder1)
Hope this clears it all up for you! Consider marking this as the answer if it helped!