Font family [font-family] The property font-family is used to set a prioritized list of fonts to be used to display a given element or web page. h1 {font-family: arial, verdana, sans-serif;} h2 {font-family: "Times New Roman", serif;} Font style [font-style] The property font-style defines the chosen font either in normal, italic or oblique. h2 {font-family: "Times New Roman", serif; font-style: italic;} Font variant [font-variant] The property font-variant is used to choose between normal or small-caps variants of a font. A small-caps font is a font that uses smaller sized capitalized letters (upper case) instead of lower case letters. h1 {font-variant: small-caps;} h2 {font-variant: normal;} Font weight [font-weight] The property font-weight describes how bold or "heavy" a font should be presented. A font can either be normal or bold. h1 {font-family: arial, verdana, sans-serif; font-weight: bold;} ...
A blog where you can find all codes for Android, Corona, Basic tutorials, Interview questions and more...