replaced-element-037-ref.html (340B)
1 <!DOCTYPE html> 2 <title>CSS aspect-ratio reference: svg in img</title> 3 <style> 4 img { 5 width: 200px; 6 height: 100px; 7 padding-top: 50px; 8 } 9 </style> 10 <img src='data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100"><rect fill="red" stroke="black" stroke-width="6" width="200" height="100"/></svg>'/>