What is the cause of the gap between inline elements?

Why do inline or inline block elements produce gaps?

or: why is there a blank character?

I know all the solutions, so I don"t want you to answer the removal techniques, thank you.

   

Mar.05,2021

1. Maybe you didn't go to the distance between inside and outside: margin:0;padding:0;
2. It may be that the enter key is used to wrap the line in html. Just write on one line


inline-block has this problem
solve: http://www.zhangxinxu.com/wor.


html default white-space: normal;


that white space is a newline character, that is, enter

Menu