Agyan
adda
Run
Reset
Copy
HTML Tutorial › HTML Images › Images with alt, size and link
Back to tutorial
Code
Edit, then press Run or Ctrl+Enter
<img src="https://www.w3schools.com/html/pic_trulli.jpg" alt="White stone houses with cone roofs" width="240" height="160"> <p>Clickable image:</p> <a href="https://agyanadda.com"> <img src="https://www.w3schools.com/html/img_girl.jpg" alt="Go to AgyanAdda" width="120"> </a>
Result