If I have code that look like this...
Code:
<p><b>This is bold text.</b></p>
<p><b><i>This is bold italic text.</i></b></p>
<p><i>This is italic text.</i></P>
The text shows bold and/or italic correctly. But if I have text that looks like this...
Code:
.bold {
font-weight: bold;
}
.bolditalic {
font-weight: bold;
font-style: italic;
}
.italic {
font-style: italic;
}
<p class="bold">This is bold text.</p>
<p class="bolditalic">This is bold italic text.</p>
<p class="italic">This is italic text.</P>
The text is just plain text. Can this be fixed so if the bold and/or italic is part of a class that the text shows the bold and/or italic?
Thanks.