Menu Home

bdi

osbo.com | HTML | Elements | bdi

The bdi HTML element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting.

Syntax

HTML

<bdi attribute-name="attribute-value"></bdi>

Attributes

Global

Name Value Description
dir Direction of the text

Examples

dir

Web Hypertext Application Technology Working Group (WHATWG)