1<img src="flowers.jpg" alt="flowers">
2
3//Always add the image type (jpg,png, etc) Adding alt text
4is also good coding practice :)
1The <img> tag will help you add image in html coding... it contains attributes:
2
31) src - usage <img src="">, it states the source of the image..
42) alt - usage <img src="" alt=""> it is the alternative text if you image failed to load...
5
6Thank you and HAPPY CODING.
7Feel free to give a upvote.. ^^
1<!DOCTYPE html>
2<html>
3 <head>
4 <title>HTML img Tag</title>
5 </head>
6
7 <body>
8 <img src="/html/images/test.png" alt="Simply Easy Learning" width="200"
9 height="80">
10 </body>
11</html>
1<img src="image(name).png" alt="descibe your image">
2non code:
3for styling i will prefer using css instead of html