📚 › HTML: build the structure of a web page
7. Images
इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।
The img element shows a picture. src holds the file address, alt holds a short description, and width sets the size.
Always write alt text. Screen readers read it aloud for people who cannot see the picture, and search engines use it too. img has no end tag.
उदाहरण देखें
<img src="https://example.com/cat.jpg" alt="A cat sleeping on a chair" width="300">
✍️ अब आपकी बारी
Add an image from https://example.com/logo.png with the alt text Company logo.