<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains a basic form.
</h3>
<div class="container">
<form class="form">
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" placeholder="Enter your Name"/>
</div>
<div class="form-group">
<label for="age">Age</label>
<input type="text" class="form-control" id="age" placeholder="Enter your Age"/>
</div>
<div class="form-group">
<label for="no">Number</label>
<input type="text" class="form-control" id="no" placeholder="Enter your Mobile Number"/>
</div>
<div class="form-group">
<label for="gr">Gender</label>
<input type="text" class="form-control" id="gr" placeholder="Enter your Gender"/>
</div>
<div class="form-group">
<label for="email">E-Mail</label>
<input type="mail" class="form-control" id="mail" placeholder="Enter your E-Mail Id"/>
</div>
<div class="form-group">
<label for="intro">Description</label>
<textarea class="form-control" id="intro" placeholder="Enter something about yourself"></textarea>
</div>
<button type="submit" class="btn btn-info">Submit</button>
<button type="reset" class="btn btn-info">Reset</button>
</form>
</div>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.js"></script>
</body>
</html>
style.css
.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains a basic form.
</h3>
<div class="container">
<form class="form">
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" placeholder="Enter your Name"/>
</div>
<div class="form-group">
<label for="age">Age</label>
<input type="text" class="form-control" id="age" placeholder="Enter your Age"/>
</div>
<div class="form-group">
<label for="no">Number</label>
<input type="text" class="form-control" id="no" placeholder="Enter your Mobile Number"/>
</div>
<div class="form-group">
<label for="gr">Gender</label>
<input type="text" class="form-control" id="gr" placeholder="Enter your Gender"/>
</div>
<div class="form-group">
<label for="email">E-Mail</label>
<input type="mail" class="form-control" id="mail" placeholder="Enter your E-Mail Id"/>
</div>
<div class="form-group">
<label for="intro">Description</label>
<textarea class="form-control" id="intro" placeholder="Enter something about yourself"></textarea>
</div>
<button type="submit" class="btn btn-info">Submit</button>
<button type="reset" class="btn btn-info">Reset</button>
</form>
</div>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.js"></script>
</body>
</html>
style.css
.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}
0 comments:
Post a Comment