Professional Documents
Culture Documents
CSS OVERVIEW
❖ Note: The style attribute will override any style set globally, e.g.
styles specified in the <style> tag or in an external style sheet.
mystyle.css
CSS SELECTORS
element.
Syntax
element.
Syntax
COMMON PROPERTIES
18/08/2023 35
Font Style
▪ The font-style property is mostly used to specify italic text.
▪ This property has three values:
✓ normal - The text is shown normally
✓ italic - The text is shown in italics
✓ oblique - The text is "leaning" (oblique is very similar to italic, but
less supported)