“tombol href” Kode Jawaban

href pada tombol

<button onclick="window.location.href='/page2'">Continue</button>
STIFLER

tautan tombol HTML

<button><a href='https://google.com' alt='Broken Link'>This is a button</a></button>
Arab Fire Shaman

Buton html href

<!-- if you are on Window : --> 
<button onclick="window.location.href='page2.html'">
  Button
</button>

<!-- if you are on linux or macOS : -->
<button onclick="location.href='page2.html'">
  Button
</button>
Pr.Gaultier

tombol sebagai href

<button onclick="location.href='http://www.example.com'" type="button">
         www.example.com</button>
Strange Skylark

tombol href

<a href="https://google.com" class="button">Go to Google</a> //*button link *//
Bad Bird

tombol href

a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;
    color: initial;
}
Bad Bird

Jawaban yang mirip dengan “tombol href”

Pertanyaan yang mirip dengan “tombol href”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya