The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 49 - File: showthread.php(1621) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 49 errorHandler->error_callback
/showthread.php 1621 eval
Warning [2] Undefined variable $fburl - Line: 58 - File: showthread.php(1621) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 58 errorHandler->error_callback
/showthread.php 1621 eval
Warning [2] Undefined variable $fburl - Line: 58 - File: showthread.php(1621) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 58 errorHandler->error_callback
/showthread.php 1621 eval
Warning [2] Undefined variable $fburl - Line: 58 - File: showthread.php(1621) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 58 errorHandler->error_callback
/showthread.php 1621 eval
Warning [2] Undefined variable $fburl - Line: 58 - File: showthread.php(1621) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 58 errorHandler->error_callback
/showthread.php 1621 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Setting Fonts using CSS

Googleplus Pint
#1
This tutorial will teach you how to set fonts of a content available in an HTML element. You can set following font properties of an element:

The font-family property is used to change the face of a font.

The font-style property is used to make a font italic or oblique.

The font-variant property is used to create a small-caps effect.

The font-weight property is used to increase or decrease how bold or light a font appears.

The font-size property is used to increase or decrease the size of a font.

The font property is used as shorthand to specify a number of other font properties.

Set the font family:
Following is the example which demonstrates how to set the font family of an element. Possible value could be any font family name.

<p style="font-family:georgia,garamond,serif;">
This text is rendered in either georgia, garamond, or the default
serif font depending on which font you have at your system.
</p>

Hello World!:

- tes
- Hello Friends . Welcome Back
Hasan
Reply


Messages In This Thread
Setting Fonts using CSS - by Hasan - 06-28-2018, 09:27 AM
RE: Setting Fonts using CSS - by Hasan - 06-28-2018, 09:28 AM
RE: Setting Fonts using CSS - by Hasan - 06-28-2018, 09:28 AM
RE: Setting Fonts using CSS - by Hasan - 06-28-2018, 09:28 AM
RE: Setting Fonts using CSS - by Hasan - 06-28-2018, 09:28 AM
RE: Setting Fonts using CSS - by Hasan - 06-28-2018, 09:29 AM
RE: Setting Fonts using CSS - by Hasan - 06-28-2018, 09:29 AM
RE: Setting Fonts using CSS - by Hasan - 06-28-2018, 09:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CSS white-space Property Hasan 0 1,234 07-04-2018, 03:29 AM
Last Post: Hasan
  CSS - Tables Hasan 2 1,485 06-28-2018, 09:55 AM
Last Post: Hasan
  CSS - Links Hasan 1 1,908 06-28-2018, 09:47 AM
Last Post: Hasan
  CSS - Images Hasan 3 1,875 06-28-2018, 09:37 AM
Last Post: Hasan
  css text effect Hasan 9 1,388 06-28-2018, 09:34 AM
Last Post: Hasan
  Setting Backgrounds using CSS Hasan 1 1,181 06-28-2018, 03:31 AM
Last Post: Hasan
  CSS - Colors Hasan 0 1,409 06-28-2018, 03:23 AM
Last Post: Hasan
  CSS Syntax - Selectors Hasan 0 1,192 06-28-2018, 03:20 AM
Last Post: Hasan
  CSS Introduction Hasan 0 1,185 06-28-2018, 03:19 AM
Last Post: Hasan

Forum Jump:


Users browsing this thread: 1 Guest(s)