Skip to content
← Back to Community
How to make a boarder around the photo
Profile icon
TheBest156

How to make a boarder around the photo

Answered by tussiez [earned 5 cycles]
View Answer
Voters
Profile icon
SatvikKashyap
Profile icon
TheBest156
Comments
hotnewtop
Profile icon
tussiez
<img src="https://hey.foodandmoarfood.repl.co/img/wheat.png" style="border: 2px solid black;">
Profile icon
TheBest156

@tussiez Thank you! This will go great with my Chatbot.

Profile icon
tussiez

@JohnBarnhart No problem!

Profile icon
Bookie0

you can do what tussiez said, or in the css file:

img { border: 2px solid black; }

Which does the same thing, except it'll apply for every image.

You can change the thickness by changing the number before px, and you can change solid to dotted, outset, inset, etc.
And you can change the color to a hex color or rgb or whatever.

Check out more here :)