How To Make Text Bold In Css Code Example


Example 1: css bold text


.text {
font-weight: bold;
}

Example 2: css text bold


font-weight: bold;

Example 3: how bold text in css


p.normal {
font-weight: normal;
}

p.thick {
font-weight: bold;
}

p.thicker {
font-weight: 900;
}

Example 4: css bold text


/* Keyword values */
font-weight: bold;

/* Keyword values relative to the parent */
font-weight: bolder;

/* Numeric keyword values */
font-weight: 700; // bold
font-weight: 800;
font-weight: 900;

Example 5: how to bold text css inline


<p style="font-weight:bold">Hey there</p>

Example 6: css bold text


we can set text bold using css property named 'font-weight'
Syntax:
selector
{
font-weight: bold;
}

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy