The HTML5 <bdi> element (or Bi-Directional Isolation Element) isolates a span of text that might be formatted in a different direction from other text outside it. It is very useful for embedding user-generated content with not know text direction.

Syntax:

<bdi></bdi>

Attributes:

Example

The bdi tag basic example:

 

›› go to examples ››