Search
 
SCRIPT & CODE EXAMPLE
 

HTML

add link behind a button in html

<!DOCTYPE html>
<html>
   <head>
      <title>Title of the document</title>
   </head>
   <body>
      <form>
         <input type="button" onclick="window.location.href = 'https://www.w3docs.com';" value="w3docs"/>
      </form>
   </body>
</html>
Comment

how to make a button like a link

button {
  background: none!important;
  border: none;
  padding: 0!important;
  /*optional*/
  font-family: arial, sans-serif;
  /*input has OS specific font-family*/
  color: #069;
  text-decoration: underline;
  cursor: pointer;
}
Comment

PREVIOUS NEXT
Code Example
Html :: button functions html 
Html :: a open in new tab 
Html :: how to create a search bar like google in html 
Html :: html textbox pattern mobile number 
Html :: read only attribute in html 
Html :: how to make a link in html 
Html :: html link to new tab 
Html :: html exemple 
Html :: phoneto html 
Html :: html csrf token input 
Html :: input field in dropdown 
Html :: html <footer element 
Html :: css heading background line 
Html :: check button html 
Html :: ionic fab 
Html :: bootstrap 5 toggle switch 
Html :: how to make a text box required in html 
Html :: down chevron unicode 
Html :: bootstrap center button 
Html :: arnav.tcode.in 
Html :: add a gif a background image in html 
Html :: html date min max 
Html :: chrome responsive mode not working 
Html :: img text align 
Html :: html disable anchor link 
Html :: how to add bgcolor in html 
Html :: html table two headers 
Html :: convert html to string python 
Html :: get current cpu utilization in percentage linux 
Html :: html boilerplate vscode 
ADD CONTENT
Topic
Content
Source link
Name
7+5 =