To anchor to another element on the same page, provide the element with a name attribute and set the href of the anchor element to that name. code example

Example 1: email anchor tag

<a href="mailto:[email protected]">Email</a>

Example 2: hit a perticaulr ancor tag id

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<section class="to-content">
        <a class="scrollTo" href="#slogannya">
          <button type="button">
            <i class="material-icons">keyboard_arrow_down</i>
         
          </button>
        </a>
      </section>
      <div class='any'></div>
      <section class="slogan">
        <blockquote id="slogannya">
          <p>Wanna create an event? <br> or you want to give some advice to us? Use the form below </p>
        </blockquote>
      </section>

Tags:

Html Example