+ 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/>© Copyright Restricted </body> </html>
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.
+ 5
As it's not a proper address of the image which you want to give.
+ 3
Do Google Drive works? ⚒️Raj Chhatrala🛡️
+ 3
[Tutorial] Upload content from your device to CodePlayground - The Dropbox way
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
+ 3
Gordon thanks alot dear
+ 3
Good night..
How are you?
Where are you from?
You html languages very well.
Are you a teacher or student ?
+ 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
+ 2
Atabek Bahtiyarow thanks dear I am fine and I am a teacher from Afghanistan, thanks from your nice complement