.text {
font-weight: bold;
}
p.normal {
font-weight: normal;
}
p.thick {
font-weight: bold;
}
p.thicker {
font-weight: 900;
}
1) Bold tag:
<b> {HTML HERE} </b>
2) Strong tag:
<strong> {HTML HERE} </strong>
3) CSS
.bold {
font-weight: bold;
}
/* Keyword values */
font-weight: normal;
font-weight: bold;
/* Keyword values relative to the parent */
font-weight: lighter;
font-weight: bolder;
/* Numeric keyword values */
font-weight: 100;
font-weight: 200;
font-weight: 300;
font-weight: 400;// normal
font-weight: 500;
font-weight: 600;
font-weight: 700;// bold
font-weight: 800;
font-weight: 900;
/* Global values */
font-weight: inherit;
font-weight: initial;
font-weight: revert;
font-weight: unset;
/* 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;
we can set text bold using css property named 'font-weight'
Syntax:
selector{
font-weight: bold;
}
font-weight: normal|bold|bolder|lighter|number|initial|inherit;
font-weight: 700;
.class {
font-weight: bold;
}
.mytext {
font-weight: bold;
}
p{
font-weight: bold;
}
.selector {
font-weight: bold;
}
Code Example |
---|
Css :: set propTypes |
Css :: neumorphism css generator |
Css :: column count css |
Css :: place-content css property |
Css :: css attribute selectors |
Css :: css structure |
Css :: css after before |
Css :: css background templates |
Css :: add pseudo buttons |
Css :: react use global css classes |
Css :: avatar change design html css |
Css :: css class inheritance |
Css :: text in one line css |
Css :: quitar flecha summary html css |
Css :: text cow |
Css :: easyui datagrid header wrap |
Css :: no nobr substitute in html |
Css :: hide scrolbar |
Css :: Understanding ' sign in css selector |
Css :: accessing folders in css |
Css :: why color is? |
Css :: bootstrap carousel arrow padding |
Css :: Protéger les fichiers .htaccess et .htpasswds |
Css :: what does color dodge do |
Css :: outting a border on a map css |
Css :: Slide up and down animation CSS CodePen |
Css :: animacion de gota css |
Css :: Pass argument to group_by |
Css :: css file verlinken |
Css :: nth master |