💥 img
图片
场景用例
<!-- HTML 代码 -->
属性
属性(Attribute) | 说明(Description) | 值(Value) |
---|---|---|
alt | - | - |
src | - | - |
srcset | - | - |
sizes | - | - |
crossorigin | - | - |
usemap | Name of image map to use | Valid hash-name reference* |
ismap | Whether the image is a server-side image map | Boolean attribute |
width | - | - |
height | - | - |
referrerpolicy | - | - |
decoding | Decoding hint to use when processing this image for presentation | "sync"; "async"; "auto" |
loading | Used when determining loading deferral | "lazy"; "eager" |
fetchpriority | - | - |
事件
事件属性(Event) | 说明(Description) | 值(Value) | 接 口(Interface) |
---|---|---|---|
- | - | - | - |