The right way of setting when it's a local file

前端 未结 6 1794
我在风中等你
我在风中等你 2020-12-01 12:37

I\'m trying to link to a local file. I\'ve set href as follows:

Link Anchor
6条回答
  •  [愿得一人]
    2020-12-01 13:07

    This can happen when you are running IIS and you run the html page through it, then the Local file system will not be accessible.

    To make your link work locally the run the calling html page directly from file browser not visual studio F5 or IIS simply click it to open from the file system, and make sure you are using the link like this:

    Intro
    

提交回复
热议问题