thirtvanke
0
Q:

html how to add an image

<img src="Add Image Source Here">
4
<img src="pic_trulli.jpg" alt="Italian Trulli">
6
<img src="img_girl.jpg" alt="Girl in a jacket" style="width:500px;height:600px;">
17
<img src="flowers.jpg" alt="flowers">

//Always add the image type (jpg,png, etc) Adding alt text
is also good coding practice :)
14
<img src="img_girl.jpg" alt="Image Load Error" width="500" height="600">
6
<img src="image.jpg">
1
<!DOCTYPE html>
<html>
   <head>
      <title>HTML img Tag</title>
   </head>

   <body>
      <img src="/html/images/test.png" alt="Simply Easy Learning" width="200"
         height="80">
   </body>
</html>
1
<!--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">
4
<img src="logo.png" />
5

New to Communities?

Join the community