0

Image insertion

Am working with my iPad Air 2, how do I make use of the image tag, using an iPad, doesn’t seem to work here.

15th Jan 2018, 2:34 PM
James Abiola Bisiriu
James Abiola Bisiriu - avatar
4 Antworten
+ 9
If possible, please provide a Minimal, Complete, and Verifiable code @ Code Playground so we can help you to take a look on the code. 😉
15th Jan 2018, 3:03 PM
Zephyr Koo
Zephyr Koo - avatar
+ 1
I can’t seem to get the file fish.jpg, except a folder
15th Jan 2018, 3:11 PM
James Abiola Bisiriu
James Abiola Bisiriu - avatar
+ 1
By writting <img src="fish.jpg"> you're trying to display an image file called "fish.jpg" (as expected), but located in same place as your html source code file, meaning in code playground context on an unknown place on sololearn servers ^^ In sololearn context, you can only link absolute url (ie starting by 'http://'), not in your local device. To be able to display local images, you must run your source code locally, not in playground... You must host your personal files on internet to be able to link them in code playground ;)
15th Jan 2018, 3:16 PM
visph
visph - avatar
0
<html> <head> <title>first page</title> </head> <body> <h1>About Me</h1> <p> Hey! I'm <strong>Alex</strong>. Coding has changed my world ... </p> <p class="quote">"Declare variables, not war"</p> <Hr = width “50 pixel”/> <Hr = width = "50%"> <Img src = “fish.jpg”> <P>Process of image insertion </p> </body> </html>
15th Jan 2018, 3:10 PM
James Abiola Bisiriu
James Abiola Bisiriu - avatar