Answers for "action html"

1

formulaire html

<!DOCTYPE html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="design.css">
	</head>
	<body>
    <form action ="traitement.php" method ="post/get">
        <p>
          Remplissez ce formulaire:<br>
          Nom:
      
            <input type="text" name="prenom">
        </p>
   
       <p>
       Prénom:
     
            <input type="text" name="Nom">
      </p>
              
            <p>
              Nom de la sociétée:
             <input type="text" name="Nom de ma sociétée"> <br>
            </p>
      
      <select name="requete">
            <option value= "Prendre contacte">Prendre contacte</option>
            <option value= "embaucher moi">embaucher moi</option>
            <option value="j'ai besoin d'un stagiaire">j'ai besoin d'un stagiaire<option>      
         </select> 
      
         
        
    <label>Votre message:</label><br>
         <textarea></textarea> <br>
      
    </form>
    
    <section>
    </section>
    
         <form>
           <label for="Quelle est votre CB?">
              Quelle est votre CB?
           </label>
           <input type="text" list="cartes" name="cartes">
              <datalist id="cartes">
                     <option value= "GOLD">Gold</option>
                    <option value= "Master card">Master card</option>
                    <option value= "Visa classique">Visa classique</option>
           </datalist>
    </form>
		
	</body>
Posted by: Guest on April-18-2020
0

html button action

A form with two submit buttons. The first submit button submits the form data to "submit_data.php", and the second submits to "send_data.php":

<form action="/submit_data.php" method="get">
  <label>Name:</label>
  <input type="text" id="uname" name="uname"><br><br>
  <label>Age:</label>
  <input type="text" id="uage" name="uage"><br><br>
  <label>Address:</label>
  <input type="text" id="uaddress" name="uaddress"><br><br>
  <button type="submit">Submit</button>
  <button type="submit" formaction="/send_data.php">Submit to another page</button>
</form>
Posted by: Guest on April-23-2020

Browse Popular Code Answers by Language