how to src an image in html code example

Example 1: html img src

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

<img src=C:\your_files>
<!-- for a local file -->

Example 2: images in html

<img src="image.jps">
//image.jpg is where you would put the inage source.

Example 3: img src html

<img src="https://source.unsplash.com/user/c_v_r" alt="Unsplash" alt="This is the alt" height="42" width="42">

Example 4: how to put an image in html

<img src="img_girl.jpg" alt="Girl in a jacket" style="width:500px;height:600px;">

Example 5: how to add image in html

<img src="logo.png" />

Tags:

Html Example