Html Quotations - cite, bdo tag

How to use </cite> and </bdo> tag in html?


HTML <cite> for Work Title :

<cite> </cite>
In HTML, the title of a document could be represented by writing the title inside the tag <cite>. This tag <cite> is usually displayed in italic.


<p><cite></cite> is a technical website.</p>

Result : is a technical website.

HTML <bdo> for Bi-Directional Override:

<bdo> </bdo>
In HTML to define a bi-directional override the tag <bdo> is used. The bi-directional override means overriding the current text direction. Since it is bi-directional it means that the override could be in both the directions, left to right or from right to left.
Example :
<bdo dir="rtl">This text will be viewed from right to left</bdo>

Result :
This text will be viewed from right to left

In the above "dir" attribute inside <bdo> tag is specified as "rtl" which means the content will be displayed from right to left.

Ask Questions

Ask Question