0

I have the following website:

http://luscoefusco13.es

I would like to know how to put a link that redirects to the main page, if I have three files, index.html, main.html and top.html?. It has frames, that is the difference between the question asked in the example of similar case.

  • Did you actually tried to google it? – Bálint Oct 10 '16 at 11:10
  • Possible duplicate of [How can I create a link to a local file on a locally-run web page?](http://stackoverflow.com/questions/18246053/how-can-i-create-a-link-to-a-local-file-on-a-locally-run-web-page) – Bálint Oct 10 '16 at 11:12
  • Bálint it is a different case, it works with frames. –  Oct 10 '16 at 14:29

2 Answers2

0

Use simply /, as in <a href="/">Link text</a> - this will always link to the root of your website, regardless of the visitor's current location on your site, or the site's domain name.

Dai
  • 141,631
  • 28
  • 261
  • 374
0

With target="framename"

<ul> 
  <li><a href="example.html" target="top">A frame</a></li>
  <li><a href="example.html" target="main">B frame</a></li>

This is the site where I have it from:

http://www.tagindex.net/html/frame/a_target.html

Rolin
  • 9
  • 4