span tab spacing

How to remove spacing between span tags

This is easy!

If you write it like this for example (with a carriage return between the top and bottom lines):



The result will have gaps;

But if you combine the two lines into one, for example, like this:


It will come out with no gaps;

Others like inline-block tags are handled the same way

How to cancel the spacing between two spans in the same line

Method 1: <span></span><span></span>/span>

Method 2: Float the span in front of it

Method 3: Float them all

Method 4: Positioning