BCA WT Bootstrap Assignment
BCA WT Bootstrap Assignment
BCA EA 2024
01029802024
WT ASSIGNMENT-BOOTSTRAP
<html>
<head>
<title>3 equal columns</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/
bootstrap.min.css" rel="stylesheet">
</head>
<body>
<style>
.col-sm-4{
background-color: brown;
border: 1px solid black;
padding: 20px;
color: azure;
text-align: center;
}
</style>
<div class="row">
<div class="col-sm-4">1</div>
<div class="col-sm-4">2</div>
<div class="col-sm-4">3</div>
</div>
</body>
</html>
Q 2. Create a webpage containing Bootstrap Table.
<html>
<head>
<title>Bootstrap Table Example</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/
bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h2>Bootstrap Table Example</h2>
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>John</td>
<td>Doe</td>
<td>[email protected]</td>
</tr>
<tr>
<td>2</td>
<td>Jane</td>
<td>Doe</td>
<td>[email protected]</td>
</tr>
<tr>
<td>3</td>
<td>Sam</td>
<td>Smith</td>
<td>[email protected]</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
Q 3. Create a webpage containing various types of Bootstrap images.
<html>
<head>
<title>images in bootstrap</title>
</head>
<body>
<div class="container">
<img src="1.png" class="img-rounded" alt="1" height="200"
width="400">
<img src="2.png" class="img-thumbnail" alt="2"
height="200" width="400">
<img src="3.png" class="img-circle" alt="3" height="200"
width="400">
</div>
</body>
</html>
Q 4. Create a webpage containing various Bootstrap typography classes.
<html>
<head>
<title>Title</title>
<p class="text-lowercase">lowercase</p>
<p class="text-uppercase">uppercase</p>
<p class="text-capitalize">caplitalized.</p>
<p class="text-muted">grey</p>
<p class="text-primary">blue</p>
<p class="text-success">green</p>
<p class="text-info">cyan</p>
<p class="text-warning">yellow</p>
<p class="text-danger">red</p>
</div>
</body>
</html>
Q 5. Create a webpage containing various types of buttons and style them using all
Bootstrap classes for buttons.
<html>
<head>
<title>Bootstrap Buttons Example</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/
bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h1 class="text-center">Bootstrap Buttons Example</h1>
<div class="text-center">
<h3>Default Buttons</h3>
<button class="btn btn-default">Default</button>
<button class="btn btn-primary">Primary</button>
<button class="btn btn-success">Success</button>
<button class="btn btn-info">Info</button>
<button class="btn btn-warning">Warning</button>
<button class="btn btn-danger">Danger</button>
<button class="btn btn-link">Link</button>
</div>
<html>
<head>
<title>Bootstrap Jumbotron Example</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/
bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="jumbotron text-center">
<h1>Hello</h1>
<p class="lead">Jumbotron</p>
<p></p>
<a class="btn btn-primary btn-sm" href="#" role="button">hey</a>
</div>
</div>
</body>
</html>
Q 7. Create a webpage containing various different Glyphicons.
<html>
<head>
<title>Glyphicons Example</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/
bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<style>
h1{
color: blueviolet;
border: 10px solid greenyellow;
padding: 10px;
background-color: antiquewhite;
}
</style>
<h1>Glyphicons</h1>