Ask coding questions

← Back to all posts
HTML same nav on multiple pages
Jackbaklava (38)

Hello everyone, I have a problem where I have created a nav in index.html that links to other files/pages. However, I want the same nav bar to be at the top of these files/pages too without copy pasting the same code. So, how can I do that using just html and css?

Answered by RYANTADIPARTHI (6009) [earned 5 cycles]
View Answer
Comments
hotnewtop
Jackbaklava (38)

@RYANTADIPARTHI So how do I do i do it in the repl I just shared with you?

RYANTADIPARTHI (6009)

@Jackbaklava did you read them properly? If you did, you will know to use those linked things into all files you want to use it in. object or iframe.

TimothyRowell (71)

Ok, can you invite me to the repl because I cant explain that here its better to do it there.