Page 223 - Computer Software Application TP - Volume 1
P. 223
COMPUTER SOFTWARE APPLICATION - CITS
TASK 7: Using borders
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 v5 Borders Example</title>
<link href=”https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css” rel=”stylesheet”>
</head>
<body>
<div class=”container mt-5”>
<h1>Borders Example</h1>
<div class=”border p-3 mb-3”>Default border</div>
<div class=”border border-primary p-3 mb-3”>Primary border</div>
<div class=”border border-secondary p-3 mb-3”>Secondary border</div>
<div class=”border border-success p-3 mb-3”>Success border</div>
<div class=”border border-danger p-3 mb-3”>Danger border</div>
<div class=”border border-warning p-3 mb-3”>Warning border</div>
<div class=”border border-info p-3 mb-3”>Info border</div>
<div class=”border border-light p-3 mb-3”>Light border</div>
<div class=”border border-dark p-3 mb-3”>Dark border</div>
<div class=”border border-white p-3 mb-3”>White border</div>
<h2>Rounded Borders</h2>
<div class=”rounded border p-3 mb-3”>Default rounded border</div>
<div class=”rounded border border-primary p-3 mb-3”>Primary rounded border</div>
<div class=”rounded border border-secondary p-3 mb-3”>Secondary rounded border</div>
<div class=”rounded border border-success p-3 mb-3”>Success rounded border</div>
<div class=”rounded border border-danger p-3 mb-3”>Danger rounded border</div>
<div class=”rounded border border-warning p-3 mb-3”>Warning rounded border</div>
<div class=”rounded border border-info p-3 mb-3”>Info rounded border</div>
208
CITS : IT & ITES - Computer Software Application - Exercise 49