I have a question. I am creating a website and trying to create multiple pages in my website and I wanted it to link up and when you click the button on the nav bar it takes you to the page. And I don’t know how to do that. So could anyone help me.

If you mean something like, creating a link let’s say “Take me to top” and when you press it, it takes you to the top of your page (or another part of the same page). You can add:

<a href="#top">Take me to top</a>

And place this, where you would like the above link to take you:

<a name="top"></a>

Basically, you are targeting ‘top’ in your link, and then, placing an element with name ‘top’.

Hope this helps!

1 Like

If I have have five pages that are part of my website, that I want to link to. For example I have about page, articles page, social media page and contact info page. And I create a nav bar and these pages are listed on the nav bar. I want to click the nav bar to go to those pages. So I want to go to the social media page to see what’s on the social media page. How can I do that.

You can create a link for each page. Example:

<a href="articles.html">Articles</a> or
<a href="../html/contact.html">Contact</a>

Within the ‘href=""’ place the path to your file in the directory.
‘…/’ -> refers to the parent directory
‘/’ -> refers to root directory

If you would like to add a link to an external page (outside of your website) you can do something like:

<a href="externalLinkPage" target="_blank">Text to link</a>

The ‘target="_blank"’ will open that page on another tab.

Hope this helps!

1 Like

I want to title, nav bar and the background of my website to be in very page. How can I do that.

Here’s an example: This is my front page of my website

and when I click the episode tab, this comes up:

I want all tabs to be the same as the home page.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.