×
是否是提供维度的正确 HTML 实体?我想在语义上是正确的,但这引出了一个问题,将维度列为 2"x 3"
甚至语义吗?如果 x 表示“by”,我会使用字母 x 还是 ×?
在我的代码中,我一直在使用 2″ × 3″
,即 2″ × 3″。根据 The Elements of Typographic Style Applied to the Web 中的建议,不间断空格是为了防止维度被包裹。 .
最佳答案
×
- Unicode:
U+00D7 乘法符号
- HTML:
×
,×
- CSS:
\00d7
请参阅有关 multiplication sign 的维基百科文章:
In mathematics, the symbol × (read as times or multiplied by) is primarily used to denote the […]
- Geometric dimension of an object, such as noting that a room is 10×12 feet in area.
根据上下文,math
element (对于 MathML )元素可能有用。
关于html - 维度中 "x"的正确 HTML 实体是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12009545/