Recently I noticed that some pages in html
even being offline had links that directed the user to specific points of the page itself and would like to learn how to do it in Notepad++
.
Recently I noticed that some pages in html
even being offline had links that directed the user to specific points of the page itself and would like to learn how to do it in Notepad++
.
Try this:
<a href="#ponto1">Link</a>
The #ponto1
is a id
of an element of the page soon when the link is clicked you will be redirected to the point where it has id
.
In this way:
<div id="ponto0"><a href="#ponto1">Link</a>palavras palavras palavras palavras palavras <br>palavras palavras palavras palavras palavras palavras palavras palavras <br>palavras palavras palavras palavras palavras palavras palavras palavras <br>palavras palavras </div>
<div id="ponto1">Texto Texto Texto Texto Texto Texto Texto Texto Texto <br>Texto Texto Texto Texto Texto Texto Texto Texto Texto Texto Texto Texto Texto Texto </div>
When you click href
it will be redirected to the second div
that has a id
that matches the link of the <a>
tag * Do not forget to start with #