How to add images to a website | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How to add images to a website

HEY, I AM QUITE NEW TO CODING . SO , I HAVE A QUICK QUESTION . IT IS -‘HOW DO I ADD AN IMAGE TO A WEB PAGE’. LIKE DO I JUST INSERT THE NAME OF THE LINK. I WOULD REALLY LOVE IT IF ANYoNE HELPS ME OUT .

18th Jan 2021, 5:10 PM
Shreyansh Singh
Shreyansh Singh - avatar
2 Answers
+ 6
Start your Course and you will find answers to your question. Here is an example: <img src="image.png" alt="an image" /> img ---> tag used for inserting image src ---> source of file alt ---> alternative text in case the message fails to load And for more attributes... you will learn it on your course. All the best and Good Luck!
18th Jan 2021, 5:14 PM
noteve
noteve - avatar
+ 3
k , thx dude . Have a great year :)
18th Jan 2021, 5:15 PM
Shreyansh Singh
Shreyansh Singh - avatar