I am currently working on my navigation menu, which consists of 6 files connected to folders on my server within the main public_html
directory. To style my menu, I have utilized the <nav>
tag and linked it to an external CSS stylesheet.
Below is the HTML code for my menu:
<center>
<nav>
<ul id="mainMenu">
<li><a href="public_html/Dome1/art.html">Art Dome</a></li>
<li><a href="public_html/Dome2/music.html">Music Dome</a></li>
<li><a href="public_html/Dome3/code.html">Dome Unknown</a></li>
<li><a href="https://www.google.com/maps/search/scrap+metal+near+me/@41.4745193,-81.7553814,14z/data=!3m1!4b1">Hunger Dome</a></li>
<li><a href="https://www.wikipedia.org/wiki/special:Random">Education Dome</a></li>
<li><a href="public_html/Dome6/yesno.html">Yes or No Dome</a></li>
<!--yesno dome has green circle with yellow text saying "yes"-->
<li><a href="public_html/Dome7/dontgo.html">Do Not Go Into This Dome!</a></li>
<!--do not dome: red circle with text saying: you have entered into the wrong dome. Go back.-->
<li><a href="public_html/Contact Dome/contact.html">Contact</a></li>
</ul>
</nav>
</center>
Although the current structure looks a bit disjointed, I am interested in incorporating relative paths such as Dome1/art.html
. Any suggestions on how to achieve this seamlessly?