div
I don’t understand this set of codesYour above understanding is correct, but you ignore it A little difference (the body element and the margins of the second div b are merged), which makes the top margin of b outside the content of the body, while a is a floating element and the margins will not overlap, and all a is entirely inside the body ( (As long as there are no size restrictions on the body), that’s all