0
Hello, l am new. Please how can can I insert image in html using my phone?
2 ответов
+ 3
First, upload the image to Imgur using your phone, then copy the direct link to the image.
Secondly, if you want to make the image into the background of the webpage, you use these :
<style>
body {
background-image: url("DIRECT LINK");
}
</style>
If you just want the image to be placed somewhere just for showcasing , etc.
<img src="DIRECT LINK" alt="Backup_text" style="width:width;height:height;">
Here are a few things you need to take note about when using the above code :
The 'alt' is there to show as text when the image doesn't load for the user.
(like a backup)
It is important to always state the width and height of an image. If width and height are not stated, the page will flicker while the image loads
0
thank you k2 shape. I will try it.