Bootstrap - Typography
Bootstrap - Typography
Bootstrap - Typography:-
Code: -
<!DOCTYPE html>
<html>
<head>
<title>typography</title>
<link href="./css/bootstrap.min.css" rel="stylesheet"
type="text/css">
<link href="./css/mystyle.css" rel="stylesheet"
type="text/css">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jq
uery.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/boo
tstrap.min.js"></script>
</head>
<body>
<div>
<h1> FrescoPlay </h1>
<h2> FrescoPlay </h2>
<h3> FrescoPlay </h3>
<h4> FrescoPlay </h4>
<h5> FrescoPlay </h5>
<h6> FrescoPlay </h6>
</div>
</body>
</html>
2. BootStrap - Images
Code: -
<!DOCTYPE html>
<html>
<head>
<title>Grab it!!!!</title>
<link href="./css/bootstrap.min.css" rel="stylesheet"
type="text/css">
<link href="./css/mystyle.css" rel="stylesheet"
type="text/css">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jq
uery.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/boo
tstrap.min.js"></script>
</head>
<body>
<img class="img-responsive"
src="https://upload.wikimedia.org/wikimedia/commons/8/85/Gf
p-missourl-st-louis-clubhouse-pond-and-scenery.jpg">
<img class="img-circle"
src="https://upload.wikimedia.org/wikimedia/commons/8/85/Gf
p-missourl-st-louis-clubhouse-pond-and-scenery.jpg">
<img class="img-thumbnail"
src="https://upload.wikimedia.org/wikimedia/commons/8/85/Gf
p-missourl-st-louis-clubhouse-pond-and-scenery.jpg">
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Grab it!!!!</title>
<link href="./css/bootstrap.min.css" rel="stylesheet"
type="text/css">
<link href="./css/mystyle.css" rel="stylesheet"
type="text/css">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jq
uery.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/boo
tstrap.min.js"></script>
</head>
<body>
<div class="btn-group btn-group-lg">
<button type="button" class="btn btn-default">
Button1</button>
<button type="button" class="btn btn-default">
Button2</button>
<button type="button" class="btn btn-default">
Button3</button>
</div>
<div class="btn-group btn-group-sm">
<button type="button" class="btn btn-default">
Button1</button>
<button type="button" class="btn btn-default">
Button2</button>
<button type="button" class="btn btn-default">
Button3</button>
</div>
<div class="btn-group btn-group-xs">
<button type="button" class="btn btn-default">
Button1</button>
<button type="button" class="btn btn-default">
Button2</button>
<button type="button" class="btn btn-default">
Button3</button>
</div>
</body>
</html>
4.Bootstrap - Navbar
Code:-
<!DOCTYPE html>
<html>
<head>
<title>Grab it!!!!</title>
<link href="./css/bootstrap.min.css" rel="stylesheet"
type="text/css">
<link href="./css/mystyle.css" rel="stylesheet"
type="text/css">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jq
uery.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/boo
tstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-default">
<div class="navbar-head">
<a class="navbar-brand" href="#"> Navbar </a>
</div>
<button class="navbar-toggler" data-
toggle="collapse" data-target = "#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse"
id="navbarCollapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#"> Home </a> </li>
<li ><a href="#"> Contact us </a> </li>
<li ><a href="#"> About us </a> </li>
</ul>
</div>
<form class="navbar-form navbar-right"
role="search">
<div class="form-group">
<input type="text" class="form-control"
placeholder = "Search">
</div>
<button type="button" class="btn btn-default"
aria-label = "Left Align">
<span class="glyphicon glyphicon-search"
aria-hidden="true"></span>
</button>
</form>
</nav>
</body>
</html>
5. Bootstrap - carousel
Code:-
<!DOCTYPE html>
<html>
<head>
<title>Grab it!!!!</title>
<link href="./css/bootstrap.min.css" rel="stylesheet"
type="text/css">
<link href="./css/mystyle.css" rel="stylesheet"
type="text/css">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jq
uery.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/boo
tstrap.min.js"></script>
</head>
<body>
<div id = "myCarousel" class = "carousel slide" data-
ride="carousel">
<div class="carousel-inner">
<div class="item active">
<img src="https://images-na.ssl-images-
amazon.com/images/M/MV5BMjA3NTEwOTMxMV5BMI5BanXkFtZTgwMjMyO
DgxMzE@._V1_SX1500_CR0,0,1500,999_AL_.jpg" alt = "Los
Angeles" style = "width:100px;">
</div>
</div>
6. Bootstrap - Panels
Code:-
<!DOCTYPE html>
<html>
<head>
<title>Grab it!!!!</title>
<link href="./css/bootstrap.min.css" rel="stylesheet"
type="text/css">
<link href="./css/mystyle.css" rel="stylesheet"
type="text/css">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jq
uery.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/boo
tstrap.min.js"></script>
</head>
<body>
<div class="panel panel-default">
<div class="panel-heading"> Title </div>
<div class= "panel-body"> FrescoPlay </div>
<div class="panel-footer"> footer </div>
</div>
</body>
</html>