XHTML 的制表符实体?

发布于 2024-07-07 06:26:50 字数 43 浏览 9 评论 0原文

有谁知道xhtml中选项卡的字符实体是什么? (嗯,如果有的话)...

Does anyone know what the character entity for a tab is in xhtml?
(Um if there is one)...

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

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

发布评论

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

评论(3

濫情▎り 2024-07-14 06:26:50

尝试。 TAB 是 ASCII 字符 #9。

但无论如何,它可能不会如您所期望的那样显示,因为 HTML 在大多数情况下会忽略空格。

Try . The TAB is ASCII character #9.

But it may not show up as you'd expect, anyway, since HTML ignores whitespace in most instances.

毁虫ゝ 2024-07-14 06:26:50

(X)HTML 对制表符没有特殊支持:它们只是另一个空白字符,无论您是否转义它们。

(X)HTML has no special support for tabs: they're just another whitespace character, regardless of whether you escape them or not.

锦爱 2024-07-14 06:26:50

大多数人模拟选项卡的做法是使用 DD & DT 标签。 他们的目的是创建一个术语表:

term
    definition goes here

term
    definition goes here

What most people do to simulate tabs is use DD & DT tags. They are intended creating a glossary:

term
    definition goes here

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