Which property-value combination will make text both italicized and bold?
- font-bold: true; font-italic: true;
- font-type: bold-italic;
- font-weight: bold; font-style: italic;
- text-decoration: underline; font-style: italic;
To make text both italicized and bold, you should use the CSS properties font-weight: bold; to make it bold and font-style: italic; to make it italic. This combination creates text that is both thicker and slanted, resulting in bold and italicized text.
Loading...
Related Quiz
- You are tasked with ensuring that all hyperlinks have no underlines but should be underlined when hovered over. How would you implement this using CSS?
- When you want flex items to stack vertically, you set flex-direction to ________.
- To run animations in reverse order after they complete, the value for animation-direction should be ________.
- How would you provide a fallback value when using a CSS custom property?
- An element with display: none; differs from visibility: hidden; because the former ________.