What is the best way to link web-pages on a website? [on hold]

When developing websites, the way I have usually linked my web-pages is to store page index’s in different directories. For example:

1.

<li><a href="Page/index.html">Page</a></li>

</ul>

I did it this way so that I could omit the index.html from the URL when the website was finished.

I have also seen people link there websites in different ways such as:

2.

<ul>

<li><a href="Page.html">Page</a></li>

</ul>

3.

<ul>

<li><a href="/Page/">Page</a></li>

</ul>

4.

<ul>

<li><a href="www.fakeexamplewebsite.com/page/">Page</a></li>

</ul>

Examples 1 and 2 seem to be the only ones that work without a server, but examples 3 and 4 get rid of the .html extension. What do you guys think is the best method? Does it even matter?

Thanks šŸ™‚

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s