Google+

Tuesday, April 30, 2019

Simple HTML Form Building-block with Bootstrap styles


In this article we review a Simple HTML Form Building-block with Bootstrap styles :





Simple HTML Form Building-block with Bootstrap styles




You can copy-paste the following building block, in order to start your Form:


<!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="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
  <h2>Form Building-block</h2>
  <form action="/action_page.php">

  <div class="panel panel-primary">
     <div class="panel-heading  panel-primary">
      <h3 class="panel-title ">Create Employee</h3>
    </div>
    <div class="panel-body  panel-primary">
    <div class="form-group">
      <label for="email">Email:</label>
      <input type="email" class="form-control" id="email" placeholder="Enter email" name="email">
    </div>
    <div class="form-group">
      <label for="pwd">Password:</label>
      <input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pwd">
    </div>
    <div class="checkbox">
      <label><input type="checkbox" name="remember"> Remember me</label>
    </div>
 
     </div>
    <div class="panel-footer panel-primary">
      <button class="btn btn-primary" type="submit">Save</button>
    </div>
 
  </form>
</div>

</body>
</html>





That's All!!! 
Enjoy Angular.....

      by Carmel Schvartzman

כתב: כרמל שוורצמן









No comments:

Post a Comment