Ask coding questions

← Back to all posts
Code images
DavidRivas4 (0)

how is the code to use images?

SixBeeps (5067)

You cannot use images if you're making a console application.
If you're making a website, you can do it using HTML:

<img src="/path/to/picture.png" />

Otherwise, if you're using a graphics library, refer to that library's documentation.


use the <img> tag in hrml. Try this.

<img src="IMAGEURL">

in the src, put whatever image url you want