HTML tag

HTML tag stands for Bidirectional Isolate Element. It is used to inform the browser to isolate the span of text which may be formatted in opposite directions than the surrounding text.

This tag is new in HTML5 and useful for languages such as Arabic or Hebrew, or if the browser dynamically inserts some text without knowing the directionality of text.

Note: The directionality of content inside does not influence by the directionality of surrounding content.

Syntax

Following are some specifications about the tag

Display Inline
Start tag/End tag Both start and End tag
Usage Semantic/textual

Example

Test it Now

Output:

HTML bdi tag

Attributes

Tag-specific attribute:

The tag does not include any specific attribute

Global attribute:

The tag supports all Global attribute

Event Attributes:

The tag supports all Event Attributes

Difference between and

HTML tag is new element of HTML5 and it is very similar to HTML element. But the main difference in both the elements is that tag isolates the content from its surrounding content but tag reveres the direction. Sometimes tag may cause some unexpected rendering errors so try to use if required.

Supporting Browsers

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




Contact US

Email:[email protected]

HTML bdi Tag
10/30