add img to html code example
Example 1: adding image in html
<img src="image.png" alt="Description for image" width="250" height="250">
Example 2: img html
<img src="smiley.gif" alt="Smiley face" height="42" width="42">
Example 3: how to add image in html
<img src="pic_trulli.jpg" alt="Italian Trulli">
Example 4: how to embed an image in html
<img src="file.jpeg" width="200px" height="200px"> <!-- for images that are saved in the same folder as the HTML document -->
<img src="/media/USB/image.jpeg" width="200px" height = "200px" > <!-- the image source will vary by folder, which you can find the locations on the folder NAV on the top of your screen -->
Example 5: how to add an image in html
<img src="image.jpg">
Example 6: html how to insert image
<!--When the image is in the same folder as your html file-->
<img src="example.jpg">
<!--When the image is in a image folder-->
<img src="./image/example.jpg">