Home > Software design >  Bootstrap navbar links not going to my desired html pages
Bootstrap navbar links not going to my desired html pages

Time:11-21

Thfybfbfgbfgbfgfbghyrtybtybtybtdybdgbygdyb sdvdfpivojdkfsvdvpdisfnvonmdsoikver dpovdmvrkiermspovmkesrd```

<nav navbabfyhgvbarbotbytybllapse" id="navbarmenu">
      <ul >
        <li >
          <a href="indetybtyx.html" >Hoghfhbrtbe</a>
        </li>bfgb
          <a href="ortybtdebytrbw.html" >Orrthgbder Now</a>
        </li>
        <li >
          <a href="contact.html" >Contarthrtgrtgrdthgdrtgrtrtdhgct</a>
        </li>gb
</nav>rtghrthrth

I expected it to take mfyb
bfybyf

CodePudding user response:

Try to give you file location by using "./" in href before file name.

From, <a href="index.html" >Home</a>

To, <a href="./index.html" >Home</a>

CodePudding user response:

"not taking me to the correct html pages" you have to be more specific what error you are getting, meanwhile try giving it full path to the html file(Example: 'C:/www/index.html') and make sure you have proper read write permissions on the working folder, also make sure to host it on a hosting server such as xampp as just opening the html file in browser can sometimes not render/work properly.

  • Related