Search
 
SCRIPT & CODE EXAMPLE
 

HTML

add submit url to button html

<!DOCTYPE html>
<html>
<body>
<style>
.sb {
  background-color: red;
  color: white;
  cursor: pointer;
}
</style>

<p>This example uses google search as the url to submit</p>

<form action="https://www.google.com/search" target="_blank">
  <h2>Google Search in Javascript</h2>
  <input name="q"><br><br>
<button class="sb">Search</button>
</form> 

</body>
</html>
Comment

PREVIOUS NEXT
Code Example
Html :: tag field 
Html :: telerik export to excel with leading zero 
Html :: html entity close x 
Html :: click button to go to sub pag on html 
Html :: npm package private 
Html :: how to say what happens on left click in HTML 
Html :: xpath find by sybling element 
Html :: how to make ngx-countdown wait for start 
Html :: indice html 
Html :: how to use variables in html 
Html :: Javascript to select td element that was clicked in a table 
Html :: mozilla date input 
Html :: what is the best programming language in 2021 
Html :: excel auto tage with date and time 
Html :: html stroke width not working 
Html :: metabase 
Html :: javascript send ethereum 
Html :: bootstrap links 
Html :: carousel 
Html :: horizontal line 
Html :: readme md link in code 
Html :: rounded scrolling images 
Html :: href action syntax 
Html :: wrap text around image bootstrap 
Html :: how to use h1 tag 
Html :: html code 
Html :: format json logs 
Html :: open mail in html 
Html :: cdn 
Html :: youtube download video html 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =