HTML 中的发音
我想以语义上有意义的方式包含元素的 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不,没有专门用于文本发音的属性或元素。如果需要进行语义标记,请使用自定义
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.有红宝石
http://www.w3.org/TR/ruby/
但是浏览器支持非常多贫穷的。
There is Ruby
http://www.w3.org/TR/ruby/
However the browser support is very poor.