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

HTML5 tag

HTML5 tag

Example

Highlighting part of the text:

Do not forget to buy milk today.

Try it »


Browser support

Internet Explorer Firefox Opera Google Chrome Safari

Supported by Internet Explorer 9+, Firefox, Opera, Chrome, and Safari tag.

**Note:** Internet Explorer 8 and earlier do not support tag.


Tag Definition and Usage Notes

The tag defines marked text.

Use the tag when you need to highlight text. tag.


Differences between HTML 4.01 and HTML5

is a new tag in HTML5.


Global Attributes

The tag supports global attributes; see the full list in HTML Global Attributes.


Event attribute

The tag supports all HTML Event Attributes.