Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Navigation Bar Complete- How to link pages?

So I'm very new to coding so forgive me if I'm not making sense. I completed my navigation bar, now, how do I add content when the user clicks on "About" "Gallery" "Resume" and "Contact" page? I have researched everywhere but no one seems to talk about the obvious next step? Would this next step still use HTML and CSS or is it now Javascript?

Would I create a separate html file for every page (About, Gallery, Resume, Contact) and add the information to each file then link it to the main index.html file?

Any help would be appreciated!

like image 918
Alexandra Avatar asked Sep 15 '25 02:09

Alexandra


1 Answers

You need to create a new html page for About, Gallery, etc.

Then you can use:

<a href="/SomeFolder/About.html">About Page</a>

to navigate to that page.

Note that /SomeFolder/About.html is that path of you about page. / means that we start from root folder.

Have a look at: https://www.w3schools.com/tags/att_a_href.asp

like image 68
Hooman Bahreini Avatar answered Sep 17 '25 16:09

Hooman Bahreini