সংক্ষিপ্ত
এইচ টি এম এল <BDI> এলিমেন্ট (বা দ্বি-নির্দেশমূলক বিচ্ছিন্নতা এলিমেন্ট) এটা বাইরে অন্যান্য লেখা থেকে একটি ভিন্ন দিক ফরম্যাটে টেক্সট একটি স্প্যান বিচ্ছিন্ন থাকে।
একটি নির্দিষ্ট অভিমুখ সঙ্গে টেক্সট ভিতরে, উদাহরণস্বরূপ একটি ডাটাবেস থেকে, একটি অজানা অভিমুখ সঙ্গে টেক্সট এম্বেড করার সময় এই উপাদান দরকারী।
Though the same visual effect can be achieved using the CSS rule unicode-bidi
: isolate
on a <span>
or another text-formatting element, the semantic meaning is only conveyed by the <bdi>
element. Especially, browsers are allowed to ignore CSS styling. In such a case, the text would still be correctly displayed using the HTML element, but will become garbage when using the CSS styling to convey semantic.
Content categories | Flow content, phrasing content, palpable content. |
---|---|
Permitted content | Phrasing content. |
Tag omission | None, both the starting and ending tag are mandatory. |
Permitted parent elements | Any element that accepts phrasing content. |
DOM interface | HTMLElement |
আরোপ করা
অন্য সব এইচ টি এম এল এলিমেন্ট এর মতো, এই উপাদান সামান্য শব্দার্থিক পার্থক্য সঙ্গে গ্লোবাল গুণাবলী, আছে: Dir অ্যাট্রিবিউট উত্তরাধিকারসূত্রে পাওয়া যায় না। যদি সেট না থাকে, তার ডিফল্ট মান ব্রাউজার উপাদান এর বিষয়বস্তুর উপর ভিত্তি করে দিক সিদ্ধান্ত নিতে দিন যা অটো হয়।
উদাহারণ
<p dir="ltr">This arabic word <bdi>ARABIC_PLACEHOLDER</bdi> is automatically displayed right-to-left.</p>
ফল
এই আরবি শব্দ REDLOHECALP_CIBARA স্বয়ংক্রিয়ভাবে ডানে-বামে প্রদর্শিত হয়।
বিশেষ উল্লেখ
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of '<bdi>' in that specification. |
Living Standard | |
HTML5 The definition of '<bdi>' in that specification. |
Recommendation |
ব্রাউজার উপযুক্ততা
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 16 | 10.0 (10.0) | No support | No support | No support |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | No support | 10.0 (10.0) | No support | No support | No support |
আরো দেখুন
সম্পর্কিত এইচটিএমএল উপাদান: {{HTMLElement ("BDO")}}
সম্পর্কিত এইচটিএমএল বৈশিষ্ট্য: {{cssxref ("দিক")}}, {{cssxref ("ইউনিকোড-বিড়ি")}}
{{}} HTMLRef