HTML bdi tag is used to specify the bidirectional text in a website. The bidirectional text are the text write from left-to-right or right-to-left directions.

The syntax for bdi tag is:

For Example:

This is the example of the bdi tag specifying text in bidirectional way.

Output

anchor tag with url

This is the example showing the bidirectional text to use inside the web pages.

Example for HTML bdi tag with header, content and footer

Output

This is the heading inside header tag.

Below is the menus which we can call as a navigational links inside header tag.

This is the article Heading

The paragraph to include any content will comes here. This paragraph can be in many forms and contains many short paragraphs.

put arabic text here

copyright@2017 mywebsite.com. All Rights Reserved.

put arabic text here

See W3C Specification for this tag.

Leave a Reply

Your email address will not be published. Required fields are marked *