tesxtstyle css code example Example 1: text color css .YourClass { color: #ff0000; } Example 2: css font style .example { font-style: italic; }