Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

176
Views
How to make a link from one HTML document to another HTML document and also includes a quick link?

I would like to link from one page to the other. But it should also be scrolled down after I came to the other document. I don't know if you can do that with this code... I know that you can use it to link to other sites and also make quick links, but is that also possible at the same time? also looked at some other posts, but they are too complex for my brain. xD

LG JJ

<a name="anker" href="#anker"></a>

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Yes, you can link to an item from another file using /file#id adress. Take a look at this example.

Inside file1.html:

<h1>This is file 1</h1>
<a href="file2.html#item">Link</a>

Inside file2.html:

<h1>This is file 2</h1>
<div>
    Something
</div>
<p id="item">Hello</p>

for smooth scrolling effect use

html{
    scroll-behavior: smooth;
}

and link this to file2.html.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!