Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <title>Contact Form Example</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
- </head>
- <body>
- <form action="mail.php" method="POST">
- <div class="form-group">
- <label for="name">Name</label>
- <input type="text" class="form-control" name="name" id="name" required autofocus>
- </div>
- <div class="form-group">
- <label for="email">Email</label>
- <input type="email" class="form-control" name="email" id="email" required>
- </div>
- <div class="form-group">
- <label for="message">Message</label>
- <textarea name="message" class="form-control" id="message" required></textarea>
- </div>
- <input type="submit" class="btn btn-default" value="Send">
- <input type="reset" class="btn btn-default" value="Clear">
- </form>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment