Two side-by-side DIVs will have a gap as shown below
because the code
There is a 'carriage return' before the two DIVs
It's OK to write
But why there is such a problem is that the browser treats characters such as space, carriage return, and tab key as a space, so there will be a gap when you enter the carriage return.