back to home

HTML bookmark

  1. HTML bookmarks are used to allow readers to jump to specific parts of a Web page. Bookmarks can be useful if a webpage is very long.
  2. To create a bookmark - first create the bookmark, then add a link to it.
  3. When the link is clicked, the page will scroll down or up to the location with the bookmark.
  4. Example: First, create a bookmark with the id attribute: < h2 id="C4">Chapter 4< /h2>
    Then, add a link to the bookmark ("Jump to Chapter 4"), from within the same page
    < a href="#C4">Jump to Chapter 4< /a>
  5. You can also add a link to a bookmark on another page
    < a href="attributes.html#attri">Jump to Attributes< /a>
  6. jump
Jump to chapter 15 Jump to chapter 4 Jump to chapter 10 Jump to chapter 21

Chapter 1

This chapter explains ba bla bla

Chapter 2

This chapter explains ba bla bla

Chapter 3

This chapter explains ba bla bla

Chapter 4

This chapter explains ba bla bla

Chapter 5

This chapter explains ba bla bla

Chapter 6

This chapter explains ba bla bla

Chapter 7

This chapter explains ba bla bla

Chapter 8

This chapter explains ba bla bla

Chapter 9

This chapter explains ba bla bla

Chapter 10

This chapter explains ba bla bla

Chapter 11

This chapter explains ba bla bla

Chapter 12

This chapter explains ba bla bla

Chapter 13

This chapter explains ba bla bla

Chapter 14

This chapter explains ba bla bla

Chapter 15

This chapter explains ba bla bla

Chapter 16

This chapter explains ba bla bla

Chapter 17

This chapter explains ba bla bla

Chapter 18

This chapter explains ba bla bla

Chapter 19

This chapter explains ba bla bla

Chapter 20

This chapter explains ba bla bla

Chapter 21

This chapter explains ba bla bla

Chapter 22

This chapter explains ba bla bla

Chapter 23

This chapter explains ba bla bla

Jump to top