Home  >  Article  >  Web Front-end  >  How to use html bdo tag

How to use html bdo tag

藏色散人
藏色散人Original
2019-05-25 15:25:483400browse

html The bdo tag is used to specify the direction of a piece of text to be opposite to the natural direction of the surrounding text. It can also override the default text direction. This tag allows you to specify the text direction and override the bidirectional direction used for text direction calculation. algorithm.

How to use html bdo tag

#html How to use bdo tag?

html The bdo tag is generally used to specify the direction of a piece of text to be opposite to the natural direction of the surrounding text. It can also override the default text direction. This tag allows you to specify the text direction and override it. Bidirectional algorithm for text orientation calculation.

Function: Can override the default text direction.

Description: NONE

Comments:

All browsers support the tag.

html bdo tag example

<html>
<body>
<p>
如果您的浏览器支持 bi-directional override (bdo),下一行会从右向左输出 (rtl);
</p>
<bdo dir="rtl">
Here is some Hebrew text
</bdo>
</body>
</html>

The effect is like:

How to use html bdo tag

The above is the detailed content of How to use html bdo tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to use html bdi tagNext article:How to use html bdi tag

Related articles

See more