p>?
Can’t you just omit it?
What to say? ? < p>
In fact, practical styles can also be implemented, that is, img style="display:block" becomes a block element.
background:#eee;padding:2px;
}
This way the img looks like it has a border
This way, you can see the specific application. Judging from this line of code, it doesn’t matter whether you add a p element or not. If the content of the entire div is more complex, nesting a p element outside the img will allow you to use CSS to control the style more flexibly. For example:
Just such a line of code can’t tell anything. I feel like it was added automatically by the editor and has no special meaning.
I don’t think the p here means much. . . . There is no advantage, and now many block-level elements that require line wrapping can be replaced with css: display: block. . .