Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML tag

HTML tag

Example

This is a plain text - This is a bold text.

Try it »


Browser support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support tag.


Tag Definition and Usage Notes

The tag defines bold text.


Differences between HTML 4.01 and HTML5

none.


Tips and Notes

**Note:** According to the HTML 5 specification, the tag should be used as a last resort, only when no other markup is more appropriate. The HTML 5 specification states that headings should be marked with

-
tags, and emphasized text should be marked with tags, important text should be marked with tags, and marked or highlighted text should be marked with tags.

**Tip:** You can also use the CSS "font-weight" property to set bold text.


Global Attributes

The tag supports HTML Global Attributes.


Event attribute

The tag supports HTML Event Attributes.