Navigate to anchor on another page

后端 未结 4 594
刺人心
刺人心 2021-01-02 03:42

I simply want to navigate from one page to a specific point on another

I have a home page with four sections.

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-02 04:06

    Are you sure that you have placed the files in same directory? I've tested the code that you have provided and it's working. However you could try this out (a different way of giving sections an id):

    CONTENT

    If you have done this, just use the same way of linking:

    Section One
    

提交回复
热议问题