"Contact form"
Bootstrap 4.1.1 Snippet by dkmahtog

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="form-sec">
<h4>Contact form</h4>
<form name="qryform" id="qryform" method="post" action="mail.php" onsubmit="return(validate());" novalidate="novalidate">
<div class="form-group">
<label>Name:</label>
<input type="text" class="form-control" id="name" placeholder="Enter Name" name="name">
</div>
<div class="form-group">
<label>Email:</label>
<input type="email" class="form-control" id="name" placeholder="Enter Email" name="email">
</div>
<div class="form-group">
<label>Phone No.:</label>
<input type="text" class="form-control" id="phone" placeholder="Enter Phone no." name="phone">
</div>
<div class="form-group">
<label>Subject:</label>
<input type="text" class="form-control" id="name" placeholder="Subject" name="subject">
</div>
<div class="form-group">
<label>Issues/query:</label>
<textarea name="issues" class="form-control" id="iq" placeholder="Enter your Issues/query"></textarea>
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
.form-sec{width:400px; background:#ccc; padding:15px;width: 400px;
background: #f8f9fa;padding: 15px;box-shadow: 0 0 4px #ccc;}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: