The following warnings occurred:
Warning [2] Undefined variable $settings - Line: 32 - File: inc/plugins/avatarep.php PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/avatarep.php 32 errorHandler->error_callback
/inc/class_plugins.php 38 require_once
/inc/init.php 235 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Trying to access array offset on value of type null - Line: 32 - File: inc/plugins/avatarep.php PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/avatarep.php 32 errorHandler->error_callback
/inc/class_plugins.php 38 require_once
/inc/init.php 235 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Undefined array key "action" - Line: 1545 - File: inc/plugins/avatarep.php PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/avatarep.php 1545 errorHandler->error_callback
/inc/class_plugins.php 142 avatarep_popup
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined variable $captcha - Line: 15 - File: global.php(587) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(587) : eval()'d code 15 errorHandler->error_callback
/global.php 587 eval
/showthread.php 28 require_once
Warning [2] Undefined variable $redirect_url - Line: 21 - File: global.php(587) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(587) : eval()'d code 21 errorHandler->error_callback
/global.php 587 eval
/showthread.php 28 require_once
Warning [2] Undefined array key "usergroup" - Line: 637 - File: inc/plugins/avatarep.php PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/avatarep.php 637 errorHandler->error_callback
/inc/plugins/avatarep.php 1079 avatarep_format_avatar
/inc/class_plugins.php 142 avatarep_threads
/showthread.php 1619 pluginSystem->run_hooks
Warning [2] Undefined array key "displaygroup" - Line: 638 - File: inc/plugins/avatarep.php PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/avatarep.php 638 errorHandler->error_callback
/inc/plugins/avatarep.php 1079 avatarep_format_avatar
/inc/class_plugins.php 142 avatarep_threads
/showthread.php 1619 pluginSystem->run_hooks
Warning [2] Undefined property: MyLanguage::$avatarep_user_alt_thread_contributor - Line: 1108 - File: inc/plugins/avatarep.php PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/avatarep.php 1108 errorHandler->error_callback
/inc/class_plugins.php 142 avatarep_threads
/showthread.php 1619 pluginSystem->run_hooks



Hasan   06-28-2018, 09:27 AM
#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
Hasan   06-28-2018, 09:28 AM
#2
Set the font style:
Following is the example which demonstrates how to set the font style of an element. Possible values are normal, italic and oblique.

<p style="font-style:italic;">
This text will be rendered in italic style
</p>

Hello World!:

- tes
- Hello Friends . Welcome Back

Hasan
Hasan   06-28-2018, 09:28 AM
#3
Set the font variant:
Following is the example which demonstrates how to set the font variant of an element. Possible values are normal and small-caps.

<p style="font-variantConfusedmall-caps;">
This text will be rendered as small caps
</p>

Hello World!:

- tes
- Hello Friends . Welcome Back

Hasan
Hasan   06-28-2018, 09:28 AM
#4
Set the font weight:
Following is the example which demonstrates how to set the font weight of an element. The font-weight property provides the functionality to specify how bold a font is. Possible values could be normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900.

<p style="font-weight:bold;">
This font is bold.
</p>
<p style="font-weight:bolder;">
This font is bolder.
</p>
<p style="font-weight:900;">
This font is 900 weight.
</p>

Hello World!:

- tes
- Hello Friends . Welcome Back

Hasan
Hasan   06-28-2018, 09:28 AM
#5
Set the font size:
Following is the example which demonstrates how to set the font size of an element. The font-size property is used to control the size of fonts. Possible values could be xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, size in pixels or in %

<p style="font-size:20px;">
This font size is 20 pixels
</p>
<p style="font-sizeConfusedmall;">
This font size is small
</p>
<p style="font-size:large;">
This font size is large
</p>

Hello World!:

- tes
- Hello Friends . Welcome Back

Hasan
Hasan   06-28-2018, 09:29 AM
#6
Set the font size adjust:
Following is the example which demonstrates how to set the font size adjust of an element. This property enables you to adjust the x-height to make fonts more legible. Possible value could be any number.

<p style="font-size-adjust:0.61;">
This text is using a font-size-adjust value.
</p>

Hello World!:

- tes
- Hello Friends . Welcome Back

Hasan
Hasan   06-28-2018, 09:29 AM
#7
Set the font stretch:
Following is the example which demonstrates how to set the font stretch of an element. This property relies on the user's computer to have an expanded or condensed version of the font being used.

Possible values could be normal, wider, narrower, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded, ultra-expanded.

<p style="font-stretch:ultra-expanded;">
If this doesn't appear to work, it is likely that
your computer doesn't have a condensed or expanded
version of the font being used.
</p>

Hello World!:

- tes
- Hello Friends . Welcome Back

Hasan
Hasan   06-28-2018, 09:30 AM
#8
Shorthand property :
You can use the font property to set all the font properties at once. For example:

<p style="font:italic small-caps bold 15px georgia;">
Applying all the properties on the text at once.
</p>

Hello World!:

- tes
- Hello Friends . Welcome Back

Hasan
  
Users browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.