Block-level elements are those elements of the source document that are formatted visually as blocks (e.g., paragraphs). The following values of the 'display' property make an element block-level: 'block', 'list-item', and 'table'.
W3C标准:块级元素是那些在源文件中视觉上被当做块排版的元素。以下display属性使一个元素成为块级元素:block、list-item、table。
那么问题来了,如果说块级元素就是被当成块排版的元素,也就是独占一排的元素,那么为什么tr(display: table-row)不属于块级元素?
是。块元素天然有高度和宽度,inline元素是没有天然高度。display:table-row; 是特殊的块级元素。