How do I add image on my CSS or HTML using my device | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I add image on my CSS or HTML using my device

10th Nov 2023, 12:17 PM
Israel Ndubuisi
Israel Ndubuisi - avatar
4 Answers
10th Nov 2023, 12:21 PM
Gulshan Mahawar
Gulshan Mahawar - avatar
+ 3
use <img src="//url">
10th Nov 2023, 2:26 PM
Alhaaz
Alhaaz - avatar
+ 2
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="styles.css"> <title>Your Webpage</title> </head> <body> <img src="path/to/your/image.jpg" alt="Description of the image"> </body> </html>
10th Nov 2023, 3:37 PM
Atif
Atif - avatar
0
I don't know how to import the image links in HTML so I just don't use custom images
10th Nov 2023, 8:26 PM
Luke
Luke - avatar