div and span: display = 'block', 'inline', or 'inline-block' ?
From a rendering point of view, == and == . As for HTML syntax, however, a div cannot be nested inside an inline element, whereas a span cannot contain block-level elements. But there is ......