Answers for "html get image"

17

html how to add an image

<img src="flowers.jpg" alt="flowers">

//Always add the image type (jpg,png, etc) Adding alt text
is also good coding practice :)
Posted by: Guest on March-04-2020
7

html img src

<img href="https://website.com/image.jpg"> 
<!-- for an image online -->

<img src=C:\your_files>
<!-- for a local file -->
Posted by: Guest on June-18-2020
2

img src html

<img src="https://source.unsplash.com/user/c_v_r" alt="Unsplash" alt="This is the alt" height="42" width="42">
Posted by: Guest on March-23-2021

Browse Popular Code Answers by Language