asked on
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<form class="form-horizontal" role="form">
<div class="form-group">
<label class="col-sm-2 control-label"> name </label>
<div class="col-sm-10">
<input id="name" type="text" name="name">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">
<input id="email" type="text" name="email">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Phone </label>
<div class="col-sm-10">
<input id="phone" type="text" name="email">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Comments </label>
<div class="col-sm-10">
<textarea rows="4" cols="50" id="comments">
</div>
</div>
<div class="row">
<div class="col-sm-2"> </div>
<div class="col-sm-10">
<input type="submit" class="btn btn-default" value="Submit">
</div>
</div>
</form>
</div>
</body>
</html>
ASKER
ASKER
ASKER
Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.
TRUSTED BY
you cannot directly send mail on the client side / through client side code.
Therefore you have to do this on the server on the form Action target page.
What are you using on the server side?
PHP, ASP.NET, ...?
Thanks.
Rainer