The following CSS code can be used to apply it when it exists:<img>Center the label:
p img {
display: block; /* 将<img>标签设置为块级元素 */
margin: 0 auto; /* 设置左右外边距为自动,即水平居中 */
}This will enable<img>The tag is located within its parent element.<p>The tag is horizontally centered. Note that if<img>If the tag does not have a specified width, it may not be centered correctly. You can adjust the CSS as needed to achieve the desired effect.