CSS - Font in CSS
In this video,I explained Font in CSS. Feel free to comment. For more, please subscribe and press the BELL icon. Please visit my CSS Playlist. Please like, comment, share and subscribe. The code is as follows -
HTML File -
<html>
<head>
<title> CSS Fonts </title>
<link rel="stylesheet" href="cssfont.css">
</head>
<body>
<h1> This is my first heading </h1>
<h3> This is my second heading </h3>
<u> This text will have underline </u>
</body>
</html>
CSS File -
h1 {
color: green;
font-size: 100px;
font-family: Arial;
}
h3 {
color:gray;
font-family: Arial Black;
}
u {
font-size:25px;
color: red;
}
HTML File -
<html>
<head>
<title> CSS Fonts </title>
<link rel="stylesheet" href="cssfont.css">
</head>
<body>
<h1> This is my first heading </h1>
<h3> This is my second heading </h3>
<u> This text will have underline </u>
</body>
</html>
CSS File -
h1 {
color: green;
font-size: 100px;
font-family: Arial;
}
h3 {
color:gray;
font-family: Arial Black;
}
u {
font-size:25px;
color: red;
}
Comments
Post a Comment