Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Buy a domain name - Register cheap domain names from $0.99 - Namecheap

Scalable Hosting That Grows With You

Secure & Reliable Web Hosting, Free Domain, Free SSL, 1-Click WordPress Install, Expert 24/7 Support

Semrush - keyword research tool

Boost your online presence with premium web hosting and servers

Disclosure: My content contains affiliate links.

39,851 questions

51,772 answers

573 users

How to create a bookmark to jump to specific part of a web page in HTML

1 Answer

0 votes
<!DOCTYPE html>
<html>
    <body>

        <p><a href="#t5">Jump to Text 5</a></p>

        <h1>Text 1</h1>
        <p>Text text text</p>
        <p>Text text text</p>
        <p>Text text text</p>

        <h1>Text 2</h1>
        <p>Text text text</p>
        <p>Text text text</p>
        <p>Text text text</p>

        <h1>Text 3</h1>
        <p>Text text text</p>
        <p>Text text text</p>
        <p>Text text text</p>

        <h1>Text 4</h1>
        <p>Text text text</p>
        <p>Text text text</p>
        <p>Text text text</p>

        <h1 id="t5">Text 5</h1>
        <p>Text text text</p>
        <p>Text text text</p>
        <p>Text text text</p>

        <h1>Text 6</h1>
        <p>Text text text</p>
        <p>Text text text</p>
        <p>Text text text</p>

        <h1>Text 7</h1>
        <p>Text text text</p>
        <p>Text text text</p>
        <p>Text text text</p>

        <h1>Text 8</h1>
        <p>Text text text</p>
        <p>Text text text</p>
        <p>Text text text</p>

        <h1>Text 9</h1>
        <p>Text text text</p>
        <p>Text text text</p>
        <p>Text text text</p>

    </body>
</html>

 



answered Dec 9, 2018 by avibootz
edited Dec 10, 2018 by avibootz
...