3 ms·
It's contextual. Some images of flowers behave like headings; some are "the content"; some are decoration. Identify the function and work from there. By defau
by the_other 5y ago
It's contextual.
Some images of flowers behave like headings; some are "the content"; some are decoration. Identify the function and work from there.
By default images are "replaced inline elements" i.e. they're of the same kind as inline text. This is why `alt=""` is perfectly valid and correct for a lot of images! If you couldn't see the image, what would you want in that place, in the context of the text around it?