<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS Fonts</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap" rel="stylesheet">
<style>
p{
font-family:'Ubuntu', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 30px; /*1/96th of an inch */
line-height: 1.3em;
}
span{
font-weight: bold;
font-style: italic;
}
</style>
</head>
<body>
<h4>CSS Fonts</h4>
<p>Lets play with <span>Font</span> It is very exciting</p>
</body>
</html>
No comments:
Post a Comment