Link to Some Particular Section From Another Page

  • index.html – Page with some section to which we need to drop link from another page
    extra.html – Another page with link, which we need to connect to index.html’s particular section

    So how to connect – some button in extra.html – to the – about section of index.html?

  • This section is in index.html

    Give Some ID to the section.
    Suppose ID of the section at which you need to drop link from another page is ‘about’.

  • This link is in extra.html

    Provide link path like below.
    Link URL will be – index.html#about

    
        <a class="dtr-btn" href="index.html#about">About</a>