show picture in html code example
Example 1: how to show an image in html
// Show image in html bois
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div class="img">
<img class="img" src="image.png">
</div>
</body>
</html>
Example 2: picture html
<picture>
<source srcset="mdn-logo-wide.png" media="(min-width: 600px)">
<img src="mdn-logo-narrow.png" alt="MDN">
</picture>