Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>forms in HTML</title>
- </head>
- <body>
- <div>
- <h1>Travel form for School trip</h1>
- <form action="form.php">
- <input type="text" placeholder="enter your name">
- <br>
- <label for="sectionida">
- <input type="radio" value="Section A" name="Section" id="sectionida">Section A
- </label>
- <label for="sectionidb">
- <input type="radio" value="Section B" name="Section" id="sectionidb">Section B
- </label>
- <label for="sectionidc">
- <input type="radio" value="Section C" name="Section" id="sectionidc">Section B
- </label>
- <label>
- <br>
- <input type="checkbox" name="want Food Canteen card" id="FoodCanteen" class="red">food canteen pass<br>
- <textarea name="explain"
- id="explain" cols="30" rows="10"
- placeholder="Explain why you want to join"></textarea>
- <br>
- </label>
- <input class="favorite styled"
- type="button"
- value="Add to favorites">
- <input type="submit" value="SUBMIT">
- <input type="reset">
- <br>
- <select name="car" id="car">Select your car
- <option value="no car">select your car</option>
- <option value="Omni">OMNI</option>
- <option value="lemborgini">lemborgini</option>
- <option value="Bugati">Bugati</option>
- <option value="lory">lory</option>
- </select>
- </form>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement