Ask coding questions

← Back to all posts
seweed3 (6)

How do you make a navigation tag? I am trying to make a website. And, also let's say I wanted my website to link to other pages in the same website, how do I do it in repl?

Answered by Coder100 (12437) [earned 5 cycles]
View Answer
Coder100 (12437)

And to make a new page,

click on that new file button and then name it secondpage.html.

Now you can link to that other page by adding:

<a href="secondpage.html">Second page</a>
PattanAhmed (1361)

@seweed3 Hi,
This might help you!
Click here
If not, Comment me below!

Hope this helps
Please mark my answer if this helps

seweed3 (6)

@PattanAhmed yeah, I just found that website,but thanks!

PattanAhmed (1361)

@seweed3 Welcome!
Glad you got helped
Happy to help
Please upvote my comments if that helps

Coder100 (12437)

Hi. You can make a "semantic" nav tag:

seweed3 (6)

But, what do you put inside the navigation tag

Coder100 (12437)

oh, it's just the same as a div @seweed3

Coder100 (12437)

you can put anything inside of it, it's just for better readability @seweed3

oignons (313)

The navigation tag would be <nav>. You can read more about it here

To link to other pages, first make another page subset with HTML/CSS/JS files. Make sure to link these files to each other with each other using the <meta> tag. Then, use the <a> tag to link them up. If you have any questions, please reply.

Please mark as the answer if this answered your question