zeek17.html

 

<!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>

   <!-- MonteCarlo is imported through this link from google font removing this font
 we lose MonteCarlo font appearnace -->
    <link href="https://fonts.googleapis.com/css2?family=MonteCarlo&display=swap" 
rel="stylesheet"> 
    
<style>
        #FirstDiv{font-family:'MonteCarlo'Verdana, Geneva, Tahomasans-serif;}
        
        p{font-familyGeorgia'Times New Roman'Timesserif;/*It first check georgia 
then Times New Roman so on until it gets something*/
          font-size13px;   /* 1px is 1/96 of an inch  */
          line-height1em/*1em is 1 multiplied by fontsize.line
  height means distance b/w para and consecutive element*/
           font-weightbold;/* thickness of alphabet*/
           font-styleitalic;/*Way of writing*/
         }
    </style>
</head>
<body>
    <h4>CSS Fonts</h4>
    
    <div id="FirstDiv">Play with fonts in this div.This Font is in MonteCarlo fontfamily
 which we imported from google font.</div>
    
    <p>This is para in which we are applying different font attribute</p>
    
</body>
</html>

Comments

Popular posts from this blog

INDEX OF ZEEK HTML,CSS and JS