Is

前端 未结 6 2180
一向
一向 2020-11-22 17:16

I\'ve read somewhere that element behaves like both. If correct, could someone please explain with examples?

6条回答
  •  一个人的身影
    2020-11-22 17:44

    Whenever you insert an image it just takes the width that the image has originally. You can add any other html element next to it and you will see that it will allow it. That makes image an "inline" element.

提交回复
热议问题