Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6041441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:39:44+00:00 2026-05-23T06:39:44+00:00

Okay so i’m learning html right now and soon css. In my html coding

  • 0

Okay so i’m learning html right now and soon css. In my html coding I have a section like this for navigation:

<div id="header">
<h1>Guild Wars 2 Fanbase</h1>
<ol id="navigation">
    <li><a href="/">Home</a></li>
    <li><a href="/facts">Facts</a></li>
    <li><a href="/gallery">Gallery</a></li>
    <li><a href="/code">Coding</a>
        <ul><li><a href="/code/line">Lines</a></li>
            <li><a href="/code/comment">Comment Lines</a></li>
    </ul>
    </li>
</ol></div>

Now when I open up this .html file this is all layed out the way I want it too look (the mark up that is). My question is this, when I click on a link on this site (this site being this code) I get an a error saying this webpage is not found, but of course. But how do I create it so I can have the web pages working together? I’m not sure how to word it correctly. Like, do I create another .html file in the same directory so somehow when I click the link it reads from the second .html file?

If you not sure what I’m asking, just let me know and I’ll try to be more specific. Thank you for your help (:

excuse my mistakes in grammar, not the worlds best in English, trying my best (:

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:39:45+00:00Added an answer on May 23, 2026 at 6:39 am

    As mentioned by @Craig T your href’s should point to another page.

    <li><a href="/">Home</a></li>
    <li><a href="/facts">Facts</a></li>
    

    These are relative to your existing website where ‘/’ is the topmost page.
    ‘/facts’ is actually refering to a directory called facts relative to ‘/’

    However, they need not point to just another html page.
    They can also point to another website.

    e.g.

    <li><a href="http://www.example.com">Links</a></li>
    

    Or a specific page at other site:

    <li><a href="http://www.example.com/somepath/something.html">Something</a></li>
    

    In the html code you provided the URL’s point to directories. When a specific file or resource is not provided i.e. it doesn’t end in something like /page/yourpage.html then it’s up to the webserver to decide how to handle it. They will usually have rules to determine this.
    e.g. the apache webserver is often configured to return the file index.html in the requested directory.

    So these:

    <li><a href="/">Home</a></li>
        <li><a href="/facts">Facts</a></li>
        <li><a href="/gallery">Gallery</a></li>
        <li><a href="/code">Coding</a>
            <ul><li><a href="/code/line">Lines</a></li>
                <li><a href="/code/comment">Comment Lines</a></li>
    

    Are equivalent to these:

    <li><a href="/index.html">Home</a></li>
        <li><a href="/facts/index.html">Facts</a></li>
        <li><a href="/gallery/index.html">Gallery</a></li>
        <li><a href="/code/index.html">Coding</a>
            <ul><li><a href="/code/line/index.html">Lines</a></li>
                    <li><a href="/code/comment/index.html">Comment Lines</a></li>
    

    On some setups instead of the default being index.html it’s index.php or index.asp.

    Actually most go by an order of priority.

    e.g. try index.php first and if not available try index.html

    I hope that’s clear.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay, I've been struggling with this for a while now. I have a standard
Okay, so I've known about this for like 600 years now, but I've only
Okay, so I'm making a table right now for Box Items. Now, a Box
Okay. I know this looks like the typical Why didn't he just Google it
Okay. I have this code on my site: <?php session_start(); include database.php; include bruger.php;
Okay this is the css code I put on the master page so it
Okay i have this problem with every page i make. im not sure what
Okay let me do a better job explaining this. Assume I have a person
Okay, my site is www.kristianbak.com . I have a css class called activebutton .
Okay, this seems like it should be relatively simple, but I've been Googling for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.