The "bold" style is obtained by using the font-weight CSS property with the value bold, while the "italic" style is specified by the font-style property:
b { font-weight:bold; } i { font-style:italic; }