← All languages
HTML tag of the day
Random

<bdi>

Isolates a span of text that may have a different text direction from its surroundings.

Description

The `<bdi>` tag is an HTML element used in web documents. It can be combined with attributes to control semantics, behavior, and presentation in supported user agents.

Arguments

NameDescriptionOptional
attributes Optional global or element-specific attributes for `<bdi>`. Yes

Example

<p>User: <bdi>إيان</bdi> scored 3 points.</p>

Reference