HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <form action="/fruits.php" id="myForm"> <button type="submit">Submit</button> </form> <h2>Select drop down belongs to form</h2> <select name="myFruit" form="myForm"> <option>Apple</option> <option>Banana</option> <option>Cherry</option> <option>Dates</option> </select> </body> </html>
OUTPUT
×

Save as Private