+ 1
Why does the second image not show up in this html file?
Hello, this code has two images. One displays perfectly, the other doesn't show up. Where did I go wrong? https://code.sololearn.com/W2F9vsLfGir1/?ref=app
5 Answers
+ 2
You missed quotes in second image
Try this
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<p> Hi. This is my Blog. </p>
<img src = "https://i.pinimg.com/originals/aa/6b/0c/aa6b0c6ce789fa4212d06cf458601848.jpg">
<img src = "https://img.freepik.com/free-vector/realistic-set-colorful-powder-clouds-explosions-isolated-transparent-background_1441-2628.jpg?w=1060&t=st=1664430888~exp=1664431488~hmac=3dc6c97f045b910e51bf86c1adfb449d8ff82d4d82f5cbdf834a90f536bee543.jpg">
</body>
</html>
+ 2
It's Roy No but you have install third party extensions like in vs code many intelligence extension are available . Or you can check html Syntex error online search on google html Syntex checker
+ 1
the second href atribute doenst have closing quotation mark
0
ASR thank you! So html doesn't give anything like a syntax error?
0
ASR thank you so much! You were a great help :)