How to add image in html and css. I am just starting out. Thanks. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

How to add image in html and css. I am just starting out. Thanks.

13th Jun 2021, 4:59 PM
MD Abdullah
4 Answers
+ 3
as you are "just starting out", I would advise to not burn your first steps: be patient, and you will encounter the lesson about "how to add image" in both htlm and css when the time to learn them will outcome ;P
13th Jun 2021, 7:11 PM
visph
visph - avatar
0
Use the img tag. for example <img src="your_image_link.jpg" /> you can add more attributes to it like it alignment or the alt="some_img" if your image fails to load.
13th Jun 2021, 5:13 PM
Eashan Morajkar
Eashan Morajkar - avatar
0
<body> <p><img src="image.png" ></p> </body>
13th Jun 2021, 5:18 PM
SammE
SammE - avatar