Can someone help me insert an image to my html code

im trying insert an image to my code on vscode but idk what attribute to use

It depends really. Each attribute may add something.

src = source of the image
alt = description of the image
width and height = you can specify the width and height of the image in pixels.

In HTML will be:

<img src="path_to_image.jpg" alt="Description" width="300" height="200">

Want the image to be responsive? You can use srcset attribute.
The basic implementation is using <img>.

3 Likes

Could this be moved to code help, @Firepup650 ?

2 Likes