Page 179 - Computer Software Application TP - Volume 1
P. 179
COMPUTER SOFTWARE APPLICATION - CITS
TASK 7: Using Internal Stylesheet
1 Open the text editor
2 Write the following codes
<html lang=”en”>
<head>
<meta charset=”UTF-8”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0”>
<title>Internal CSS Example</title>
<style>
/* CSS code here */
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
color: #333;
}
h1 {
color: #007bff;
}
.container {
width: 80%;
margin: 0 auto;
padding: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
p {
line-height: 1.6;
}
</style>
</head>
<body>
164
CITS : IT & ITES - Computer Software Application - Exercise 44