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?

19th Nov 2019, 7:02 AM
Jara
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ā€ >
19th Nov 2019, 7:13 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 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."
19th Nov 2019, 4:10 PM
Jara