Is there a corresponding HTML entity that represents a whitespace and like this |_|
?
4 Answers
Also note  
as the entity for space rather than
for non-breaking space.
-
2Is there any particular difference between using one or the other? Commented May 29, 2018 at 10:21
-
6The first one adds a space between strings and the second one adds a space between strings and ensures that the strings are kept in one line together with the space.– kghblnCommented May 30, 2018 at 5:54
-
1@samurai_jane Depending on the font, they might also be different sizes. Commented Sep 6, 2020 at 4:36
If you mean ␣
, it's ␣
( = ␣
)
Update: above is "open box" character. more accurate symbol might be "shelf" symbol ˽
˽
Update 2: there is yet another character, counterbore ⌴
⌴
, but it's rather a technical graphical symbol.
Please note, the you can have some problems with the second symbol "shelf", because it is a modifier symbol.
I'd choose the "open box" ␣
.
-
-
1yep, something not looking like nothing but something can't be a whitespace :)– mykhalCommented Jan 4, 2010 at 17:29
-
1
white-space: pre
might be better suited.