CSS Font Family Example :
<!DOCTYPE html>
<html>
<head>
<title> kod4u </title>
<style type="text/css">
p {
font-family: Georgia;
}
</style>
</head>
<body>
<h1> Font Family Example </h1>
<p> Here we use Font Family property. This is a paragraph and we apply Times New Roman font. </p>
</body>
</html>
OUTPUT
<html>
<head>
<title> kod4u </title>
<style type="text/css">
p {
font-family: Georgia;
}
</style>
</head>
<body>
<h1> Font Family Example </h1>
<p> Here we use Font Family property. This is a paragraph and we apply Times New Roman font. </p>
</body>
</html>
No comments:
Post a Comment