Untitled

 avatar
unknown
plain_text
a year ago
924 B
4
Indexable
lab4.html
<!DOCTYPE html>
<html>
<head>
 <title>CSS FONT</title>
 <style type="text/css">
 .normal {
 font-style: normal;
 color: green;
 font-size: medium;
 font-weight: normal;
 background-color: orange;
 padding: 10px;
 }
 
 .italic {
 font-style: italic;
 color: blue;
 font-size: larger;
 font-weight: bold;
 background-color: white;
 padding: 10px;
 }
 
 .oblique {
 font-style: oblique;
 color: orange;
 font-size: x-large;
 font-weight: bolder;
 background-color: green;
 padding: 10px;
 }
 </style>
</head>
<body>
 <center>
 <h2> Font style properties in CSS</h2>
 <p class="normal">This is a paragraph in normal style with medium size font and 
normal weight </p>
 <p class="italic">This is a paragraph in italic style with larger size font and bold weight 
</p>
 <p class="oblique">This is a paragraph in oblique style with Extra large size font and 
bolder weight </p>
Editor is loading...
Leave a Comment