How to make a button that cat take you to a different section of your website?

How to make a button that cat take you to a different section of your website?
0

#1

I want to create a button that takes you to a different section of my website but no clue as how to do it? As always any help is very much appreciate it!


#2

You can make sections with ID attributes.

<div id="about">
  <!-- ... -->
</div>

<div id="portfolio">
  <!-- ... -->
</div>

<div id="contact">
  <!-- ... -->
</div>

Then at the top of the page you can make <a> elements that link to those sections.

<a href="#about">About</a>
<a href="#portfolio">Portfolio</a>
<a href="#contact">Contact</a>

#3

not entirely related (kevcomedia has you covered on the way to link to the same page) but an interesting read nonetheless: