Loading
Hosting Unlimited Indonesia

Text and Fonts

Text and Fonts

  • font family: Specifies the font name of a box. This can be a comma-separated list, of which the browser will use the first font it recognizes. Font names that are made up of more than one word must be placed within quotation marks. 
    • Possible values: [font name] 
    • Example: font-family: “Times New Roman”, Helvetica, Arial; 
  • font-size: Specifies the size of a font. 
    • Possible values: [size in em or pt]. 
    • Example: font-size : 12pt; or font-size: 1.0em; 
  • font-weight: Specifies the boldness of a font
    • Possible values: lighter, bold, and bolder. 
    • Example: font-weight: bold; 
  • font-style: Specifies whether the text is italic or not. 
    • Possible values: italic. 
    • Example: font-style: italic; 
  • text-align: Specifies the alignment of text inside a div. 
    • Possible values: left, right, center and justify. 
    • Example: text-align: center; 
  • text-decoration: Specifies whether text is underlined, over‐lined or has a strikethrough. 
    • Possible values: none, underline, overline, line-though. 
    • Example: text-decoration: none; 

0 Comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Top WordPress Themes