The answer is not correct. The empty div can have height and width if you set. If not set, the width would be the width of its parent, and the height would be zero. For details, you can refer to https://myprogrammingnotes.com/defau...y-div-css.html