0
HTML image
Hello, I have HTML code written in notepad. There’s link on image: <img src: “url of image in same folder as html txt file” >. When I open html file of the code in Edge or Firefox, it doesn’t show the image. I think it has something to do with the security of windows 10 but I couldn’t find solution. I’ve unblocked the picture, tried to google solution, but nothing helped me. Any advice, please?
2 Respostas
+ 6
See,
There is not problem of browser or code.
In your code
<img src: “url of image in same folder as html txt file” >
You have to use "=" not the ":" after src to specify its value.
like this
<img src=“url of image in same folder as html txt file” >
+ 1
OK, here is the code:
----------------------------------------
<!DOCTYPE HTML>
<html>
<head>
<title>Head First Lounge</title>
</head>
<body>
<h1>Welcome to the Head First Lounge</h1>
<img src=”drinks.gif”>
<p>
Join us any evening for refreshing elixirs,
conversation and maybe a game or
two of <em>Dance Dance Revolution</em>.
Wireless access is always provided;
BYOWS (Bring your own web server).
</p>
<h2>Directions</h2>
<p>
You’ll find us right in the center of
downtown Webville. Come join us!
</p>
</body>
</html>
----------------------------------------------
The browser still does not show the image.
It says: "Some of the pictures were blocked to avoid sender of this computer identify computer."