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

184
Views
¿Cómo hacer un enlace de un documento HTML a otro documento HTML y también incluye un enlace rápido?

Me gustaría enlazar de una página a la otra. Pero también debería desplazarse hacia abajo después de llegar al otro documento. No sé si puedes hacer eso con este código... Sé que puedes usarlo para enlazar a otros sitios y también hacer enlaces rápidos, pero ¿es eso también posible al mismo tiempo? También miré algunas otras publicaciones, pero son demasiado complejas para mi cerebro. xD

lg jj

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

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

0

Sí, puede vincular un elemento desde otro archivo utilizando la dirección /file#id . Echale un vistazo a éste ejemplo.

Dentro de file1.html :

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

Dentro de file2.html :

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

para un uso suave del efecto de desplazamiento

 html{ scroll-behavior: smooth; }

y vincule esto a 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!