HTML 中的发音

发布于 2024-11-25 11:09:18 字数 72 浏览 4 评论 0原文

我想以语义上有意义的方式包含元素的 IPA 发音。是否有一个属性或其他一些标准方法?

否则我只需要使用自定义属性。

I want to include the IPA pronunciation of an element in a semantically meaningful way. Is there an attribute or some other standard method for this?

Otherwise I'll just have to use a custom attribute.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

蓝咒 2024-12-02 11:09:18

不,没有专门用于文本发音的属性或元素。如果需要进行语义标记,请使用自定义 data-* 属性,并使用 Unicode 中的 IPA 字符 以在文本中包含 IPA 发音。

No, there is no attribute or element dedicated to the pronounciation of text. Use a custom data-* attribute if you need to mark it up semantically, and use the IPA characters in Unicode to include IPA pronounciation in text.

葬花如无物 2024-12-02 11:09:18

有红宝石
http://www.w3.org/TR/ruby/

但是浏览器支持非常多贫穷的。

There is Ruby
http://www.w3.org/TR/ruby/

However the browser support is very poor.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文