Bold and Italic Text - HTML

Two surviving text emphasis tags are bold and italic. Their effect on text is, as expected, to make it bold or italic, as shown in the following code

<p>This is normal text.</p>
<p><b>This is bold text.</b></p>
<p><i>This is italic text.</i></p>

Bold and italic tags at work.

Bold and italic tags at work.
Note Not every font has a bold and/or italic variant. When possible, the user agent will substitute a similar font when bold or italic is asked for but not available. However, not all user agents are font-savvy. In short, your mileage with these tags may vary depending on the user agent being used. For the same reasons mentioned elsewhere, it is advisable to use CSS instead of hardcoded bold and italic tags.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

HTML Topics