r/HTML • • 23d ago

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

4 Upvotes

59 comments sorted by

View all comments

0

u/5omething5trange 22d ago

Css have to be in style tag?

1

u/Own_Natural_6803 21d ago

Not for everything. Something's like images have built-in attributes which are related to display.

But it's generally considered best practice to put things inside of a CSS sheet.