CSS Typography

 CSS Typography


CSS provides various properties to style text and control its appearance. Some commonly used properties include:


Font-family: Specifies the font to be used for text. For example:



body {

  font-family: Arial, sans-serif;

}

Font-size: Sets the size of the font. For example:



h1 {

  font-size: 24px;

}

Color: Defines the color of the text. For example:



p {

  color: #333333;

}

No comments:

Post a Comment