DEV Community

Discussion on: CS Trivia#8: What is & nbsp; ?!

Collapse
 
sylwiavargas profile image
Sylwia Vargas

Ah, thank you for the feedback! I'll explain it better in the post.
The reason why Google "breaks" is because   is decimal HTML entity whereas   is the same character in "human" version of the html, which Google doesn't speak. Hope this clarified it!

Collapse
 
mayankjoshi profile image
mayank joshi • Edited

I too want to add something,

I noticed an interesting behaviour, when I wrote   in the dev.to markdown(without the enclosings), and did the preview, nothing was visible in the comment screen area. But in text editor I was able to type it.

Do try this.

Same goes for Google, if you add a space in Google search bar and try searching for it, Google won't search, but if you will enter &#160 this will be visible but when submitted, it will be converted into a blank space. And google can't search for blank space, because there is nothing on the search bar after submitting it.

Thread Thread
 
sylwiavargas profile image
Sylwia Vargas

Lol, it's all hilarious. I just noticed that you can't even start a google search with a space 🤓

Thread Thread
 
mayankjoshi profile image
mayank joshi • Edited

Correct we can't Google a blank space 😂.