How to set the text-align attribute to the image?

Web 2021-09-15 19:48:31 0 5,766

Since the img tag itself does not have a horizontal alignment attribute, it is necessary to define the text-align attribute in the previous mark level of the picture, that is, the parent tag, so that the picture inherits the alignment of the parent mark to achieve the alignment effect.


Your opinion

Already have 0 Article answer