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

0

u/5omething5trange Sep 20 '26

Css have to be in style tag?

1

u/Own_Natural_6803 Sep 21 '26

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.