+ 2

What is wrong with the following code that img is not displayed as an output?

<!DOCTYPE html> <html> <head> <title>Introduction</title> </head> <body> <img src="Fatehkhan.JPG" style="height:120px;width:100px;"> <h3>Introduction of myself.</h3> My name is Fatehkhan Haidary and I have a bachelor in <strong>Computer Science </strong> from a Private University also I'm cetified in <b>ICDL</b> and now I'm working as a Teacher in Aga Khan Education Service, Afghanistan. <br/>&copy Copyright Restricted </body> </html>

12th May 2019, 8:42 AM
Fatehkhan Haidary
Fatehkhan Haidary - avatar
8 odpowiedzi
+ 9
Hello mate. That is because no img with such name will be found over here. When you're working on your local computer you can use that code to display that image. But when you work on Sololearn you need to upload it to a website like dropbox or imgur and get a link to image to use it.
12th May 2019, 8:44 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 5
As it's not a proper address of the image which you want to give.
13th May 2019, 7:00 AM
Sudipta Mandal
Sudipta Mandal - avatar
+ 3
Do Google Drive works? ⚒️Raj Chhatrala🛡️
12th May 2019, 8:53 AM
Fatehkhan Haidary
Fatehkhan Haidary - avatar
+ 3
[Tutorial] Upload content from your device to CodePlayground - The Dropbox way https://code.sololearn.com/WW6t4B73kJVz/?ref=app
12th May 2019, 11:56 AM
Gordon
Gordon - avatar
+ 3
Gordon thanks alot dear
13th May 2019, 2:18 AM
Fatehkhan Haidary
Fatehkhan Haidary - avatar
+ 3
Good night.. How are you? Where are you from? You html languages very well. Are you a teacher or student ?
15th May 2019, 3:45 PM
Atabek Bahtiyarow
Atabek Bahtiyarow - avatar
+ 3
Fatehkhan Haidary you can do this method also save the file in a folder and a save the image in same folder in your phone then if it has same name if you open in browser or outside compiler it will work but on sololearn or other websites you have to give proper links or take help like external host like Dropbox
23rd Jun 2019, 6:41 PM
Sayyam Jain
Sayyam Jain - avatar
+ 2
Atabek Bahtiyarow thanks dear I am fine and I am a teacher from Afghanistan, thanks from your nice complement
16th May 2019, 1:36 AM
Fatehkhan Haidary
Fatehkhan Haidary - avatar