css for text font code example
Example 1: css bold text
.text {
font-weight: bold;
}
Example 2: css bold text
we can set text bold using css property named 'font-weight'
Syntax:
selector{
font-weight: bold;
}
Example 3: font-style css
#example {
font-style: normal; /* no specification, default */
font-style: italic; /* font is italic */
font-style: oblique; /* font is italic, even if italic letters are not specified for font family */
font-style: inherit; /* inherit property from parent */
font-style: initial; /* default value */
}