HTML CSS examples for HTML Tag:bdi
The bdi element marks text isolated from other content for text display directionality.
You use bdi element to display content whose directionality information is not available.
The bdi Element summary
Item | Value |
---|---|
Element | bdi |
Local Attributes | None |
Tag Style | Start and end tag |
New in HTML5 | Yes |
Changes in HTML5 | N/A |
Style Convention | None |
Using the bdi Element
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <p> <bdi> abcd<!--from w w w. java 2 s .c o m--> </bdi> test </p> <p> <bdi> Joe </bdi> test </p> </body> </html>