<!-- For Linking CSS file -->
<link rel="stylesheet" href="filename.css">
/* Program 1 */
<!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>Animesh Web</title>
<style>
/* Element selector */
p,h1{
border: 2px solid pink;
}
/* ID Selector */
#firstPara{
color: green;
}
/* Class selector */
.bgBlue{
color: yellow;
background-color: blue;
}
/* grouping selector */
footer,span{
background-color: pink;
}
</style>
</head>
<body>
<h1>
Hello World
</h1>
<p id="firstPara">First line</p>
<p>This is second line</p>
<div class="bgBlue">
<h1>new Division</h1>
<p> This is 3rd line</p>
</div>
</body>
</html>
<!----------------------------------------------------------------------------->
<!-- Font Change -->
<style>
/* Font Change */
p{
font-family: cursive;
/* We can also write multiple font */
/* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
/* For importing font from website line google font */
/* Goto Google Fonts and copy the text and paste in HEAD and in style*/
}
</style>
<!----------------------------------------------------------------------------->
<!-- Font Change by using Google font -->
<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=Barlow+Condensed:wght@300&display=swap" rel="stylesheet">
<style>
/* Font Chnage */
p{
/* font-family: cursive; */
/* We can also write multiple font */
/* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
/* For importing font from website line google font */
/* Goto Google Fonts and copy the text and paste in HEAD and in style*/
font-family: 'Barlow Condensed', sans-serif;
}
</style>
<!----------------------------------------------------------------------------->
<!-- Font Size -->
<style>
/* Font Change */
p{
font-family: cursive;
/* font-size: larger; */
font-size: 23p; /* 1/96 of an inch */
}
</style>
<!----------------------------------------------------------------------------->
<!-- Hight and Type Change -->
<style>
/* Hight change */
p{
line-height: 1.5;
font-weight: bold;
font-style: italic;
}
</style>
<!----------------------------------------------------------------------------->
<!-- Hight and Type Change -->