Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <svg
- viewBox="0 0 1024 640" // Image size
- role="image"
- aria-label="Image title + Image descrption"
- preserveAspectRatio="xMidYMid slice" // object-fit: cover
- style="width: 30%; height: 200px" // fixed height, adaptive width
- >
- <title>Image title</title>
- <description>Image description</desciption>
- <image xlink:href="image.jpg">
- </svg>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement