UTF-8 方块元素

UTF-8 方块元素(Block Elements)

范围:十进制 9600-9631,十六进制 2580-259F。

如果您想要在 HTML 中显示这些字符,您可以使用下表中的 HTML 实体。

如果字符没有 HTML 实体,您可以使用十进制或十六进制引用。

实例


<p>我将显示 &#9602;<p>
<p>我将显示 &#x2582;<p>

结果如下:


我将显示 ▂
我将显示 ▂

知识兔 »

并非下表中的所有实体都能在所有的浏览器中正确地显示。

目前,IE 11 是唯一一个能正确显示所有 HTML5 实体的浏览器。

字符十进制十六进制实体名称
96002580 UPPER HALF BLOCK
96012581 LOWER ONE EIGHTH BLOCK
96022582 LOWER ONE QUARTER BLOCK
96032583 LOWER THREE EIGHTHS BLOCK
96042584 LOWER HALF BLOCK
96052585 LOWER FIVE EIGHTHS BLOCK
96062586 LOWER THREE QUARTERS BLOCK
96072587 LOWER SEVEN EIGHTHS BLOCK
96082588 FULL BLOCK
96092589 LEFT SEVEN EIGHTHS BLOCK
9610258A LEFT THREE QUARTERS BLOCK
9611258B LEFT FIVE EIGHTHS BLOCK
9612258C LEFT HALF BLOCK
9613258D LEFT THREE EIGHTHS BLOCK
9614258E LEFT ONE QUARTER BLOCK
9615258F LEFT ONE EIGHTH BLOCK
96162590 RIGHT HALF BLOCK
96172591 LIGHT SHADE
96182592 MEDIUM SHADE
96192593 DARK SHADE
96202594 UPPER ONE EIGHTH BLOCK
96212595 RIGHT ONE EIGHTH BLOCK
96222596 QUADRANT LOWER LEFT
96232597 QUADRANT LOWER RIGHT
96242598 QUADRANT UPPER LEFT
96252599 QUADRANT UPPER LEFT AND LOWER LEFT AND LOWER RIGHT
9626259A QUADRANT UPPER LEFT AND LOWER RIGHT
9627259B QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER LEFT
9628259C QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER RIGHT
9629259D QUADRANT UPPER RIGHT
9630259E QUADRANT UPPER RIGHT AND LOWER LEFT
9631259F QUADRANT UPPER RIGHT AND LOWER LEFT AND LOWER RIGHT
计算机