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.
4 odpowiedzi
+ 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. 😉
+ 1
I can’t seem to get the file fish.jpg, except a folder
+ 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 ;)
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>