r/HTML • • Sep 19 '26

What am I doing wrong?

Post image

No matter what numbers I enter, I always get it wrong. I even used smaller numbers for height and larger for width incase they got it mixed up. Their AI is telling me to do everything I am already doing

7 Upvotes

59 comments sorted by

View all comments

Show parent comment

7

u/RickWritesCode Sep 19 '26

Image tags are self closing, this isn't xhtml. You probably close break tags too don't you?

1

u/a2annie Sep 19 '26

They are self closing, yes.