HTML tag

HTML tag is used to represent a part of text in a different voice from the surrounding text. The content within tag usually renders in italic type on the browser. It can be useful to represent some technical terms, phrase, fictional character thoughts, etc.

NOTE: The tag does not include any logical meaning to the content and if you want to represent some logically important part of the content then use tag. (Both give same visual effect)

Syntax

Following are some specifications about the HTML tag

Display Inline
Start tag/End tag Both Start and End tag
Usage Textual

Example 1

Test it Now

Output:

HTML I tag

Attribute

Tag-specific attribute

HTML tag does not contain any specific attribute.

Global attribute

HTML tag supports the global attributes in HTML.

Event attribute

HTML tag supports the event attributes in HTML.

Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes
Next TopicHTML iframes Tag




Contact US

Email:[email protected]

HTML i Tag
10/30