img为啥是inline行内元素

9.1. Inline, non-replaced elementsThe ‘width’ and ‘height’ properties do not apply.这里是说 non-replaced elements ,img 是replaced elements,不适用。http://www.w3.org/TR/css3-box/#inline-non-replaced
■网友
1,img不独占一行,一定是行内元素。
【img为啥是inline行内元素】 2,本身没有实际内容,是个空元素,但可设置的w h, 因为根据标签属性来显示的。是个行内替换元素。


    推荐阅读