HTML5 bdi element

The bdi is Bi-directional isolation element, it represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting.
ExampleHTML5 bdi
Source Code Expand

<!DOCTYPE html>
<html>

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title></title>
</head>

<body>
	<p>using bdi element</p>
	<p>User status : <bdi>جوني</bdi> - 10 posts.</p>
	<p>not using bdi element</p>
	<p>User status : جوني - 10 posts.</p>
</body>

</html>


comments powered by Disqus