Search
 
SCRIPT & CODE EXAMPLE
 

HTML

href on a button

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

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>
Comment

button as href

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

html button with link

<a href="https://www.google.com">
  <button>Go to Google</button>
</a>
Comment

html button link

<button onclick="window.location='(link)'"> Click this </button>
Comment

javascript button href html

<button onclick="window.location='http://www.example.com';">Visit Page Now</button>
Comment

button with href

onClick={() => {window.location.href="https://www.golfballs.com/"}}
Comment

html button with href

<form method="get" action="/page2">
    <button type="submit">Continue</button>
</form>
Comment

PREVIOUS NEXT
Code Example
Html :: tradingview lightweight charts cdn 
Html :: serve index.html locally 
Html :: html sup tag 
Html :: viewport 
Html :: how to get the 4th child of an html element 
Html :: html <div 
Html :: how to highlight any text in html and css 
Html :: JSPL loop through map keys 
Html :: html make text bold 
Html :: html click hide textbox 
Html :: metadata html 
Html :: h3 in html 
Html :: etiqueta negrita html 
Html :: html onclick not working 
Html :: comment html 
Html :: how to set all to left on html 
Html :: html how to give false link 
Html :: tags 
Html :: Using new line( ) in string and rendering the same in HTML 
Html :: tailwind width 100 percent 
Html :: html extarea line break 
Html :: bootstarp cards 
Html :: ng-bind-html vuejs 
Html :: androif intent in html link 
Html :: HTML-Whatsapp Spammer 
Html :: comsumsi api axios 
Html :: if the screen size is then link a css file html 
Html :: animated text in website 
Html :: collapse boostrap 
Html :: html bulleted list 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =