跳到主要内容

💥 img

图片

场景用例

<!-- HTML 代码 -->

属性

属性(Attribute)说明(Description)值(Value)
alt--
src--
srcset--
sizes--
crossorigin--
usemapName of image map to useValid hash-name reference*
ismapWhether the image is a server-side image mapBoolean attribute
width--
height--
referrerpolicy--
decodingDecoding hint to use when processing this image for presentation"sync"; "async"; "auto"
loadingUsed when determining loading deferral"lazy"; "eager"
fetchpriority--

事件

事件属性(Event)说明(Description)值(Value)接口(Interface)
----

参考