1 Star 0 Fork 1

小弟调调 / html-tutorial

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
bdo.md 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
小弟调调 提交于 2022-05-01 21:55 . doc: update document.

HTML <bdo> 标签

示例

指定文本方向:

<bdo dir="rtl">
This text will go right-to-left.
</bdo>

定义和用法

BDO 表示双向超控(Bi-Directional Override)。

<bdo> 标签用于覆盖当前文本方向。

浏览器支持

Element chrome edge firefox safari opera
<bdo> Yes Yes Yes Yes Yes

属性 Attributes

属性 Attribute 值 Value 描述 Description
dir ltr rtl 必需的。 指定 <bdo> 元素内文本的文本方向

全局属性

<bdo> 标签支持 HTML 中的全局属性

事件属性

<bdo> 标签支持 HTML 中的事件属性

默认 CSS 设置

大多数浏览器将显示具有以下默认值的 <bdo> 元素:

bdo {
  unicode-bidi: bidi-override;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jaywcjlove/html-tutorial.git
git@gitee.com:jaywcjlove/html-tutorial.git
jaywcjlove
html-tutorial
html-tutorial
main

搜索帮助