append-image-using-illegal-map.html (262B)
1 <!DOCTYPE html> 2 <map name="map1"><button><li>xyz</li></button></map> 3 <script> 4 const image = document.createElement('img'); 5 image.setAttribute('src', 'exists.gif'); 6 image.setAttribute('usemap', '#map1'); 7 document.documentElement.appendChild(image); 8 </script>