+ 2
Guys
Now I am at images in HTML Coding. The question is that when I am trying to mention an image.jpg in the code, it doesn't show any image in the output. Can anyone plz tell me where I am going wrong or what are the reasons it's not giving output with an image.
8 Answers
+ 21
<img src="(Any image link)" alt="NA">
<!-- Using only image.jpg would not work here I guess(?) -->
+ 21
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<img src="https://www.sololearn.com/images/fb-story-icon.jpg" alt="NA">
</body>
</html>
+ 19
Ok! Done ...Sorry :-\
+ 18
@Serena
Well, it doesn't require a closing tag or a forward slash :
https://www.w3schools.com/tags/tag_img.asp
+ 3
Dayve Dayve Dayve, you don't need to close img tag
+ 2
So guys
can I plz get the full coding starting from <html> with a real image and ending with html itself.