0

Hello, l am new. Please how can can I insert image in html using my phone?

2nd Dec 2016, 6:36 AM
desmond
desmond - avatar
2 Antworten
+ 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
2nd Dec 2016, 6:49 AM
Wen Qin
Wen Qin - avatar
0
thank you k2 shape. I will try it.
2nd Dec 2016, 7:14 AM
desmond
desmond - avatar