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 Answers
+ 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."