Page 216 - Computer Software Application TP - Volume 1
P. 216
COMPUTER SOFTWARE APPLICATION - CITS
TASK 2: Applying layouts and grid systems
1 Open the text editor
2 Write the following codes
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0”>
<title>Bootstrap v3 Layouts and Grid Systems Example</title>
<!-- Bootstrap CSS -->
<link href=https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css rel=”stylesheet”>
</head>
<body>
<div class=”container”>
<div class=”row”>
<div class=”col-md-4”>
<div class=”well”>Column 1</div>
</div>
<div class=”col-md-4”>
<div class=”well”>Column 2</div>
</div>
<div class=”col-md-4”>
<div class=”well”>Column 3</div>
</div>
</div>
<div class=”row”>
<div class=”col-md-6”>
<div class=”well”>Column 1</div>
</div>
<div class=”col-md-6”>
<div class=”well”>Column 2</div>
</div>
</div>
<div class=”row”>
<div class=”col-md-8”>
<div class=”well”>Column 1</div>
</div>
<div class=”col-md-4”>
<div class=”well”>Column 2</div>
</div>
</div>
<div class=”row”>
<div class=”col-md-3”>
<div class=”well”>Column 1</div>
</div>
<div class=”col-md-6”>
<div class=”well”>Column 2</div>
</div>
<div class=”col-md-3”>
201
CITS : IT & ITES - Computer Software Application - Exercise 49