XML Parsing Error: mismatched tag. Expected

created at 10-16-2021 views: 31

Using Firefox is worthy of being a technical nerd, even if it is an HTML tag specification, it will give ERROR MESSAGE.
Long long ago I used to use IE for development. Since the birth of chrome, chrome slowly drove away IE and occasionally Firefox.
Because Firefox is not used frequently, the code that does not affect the business is ignored when debugging. Today I used Firefox to debug and found the following prompt:

XML Parsing Error: mismatched tag. Expected: </img>.
Location: http://yourdomain.com/?v=0.3880621168625962
Line Number 449, Column 76:

When you locate the error point, it turns out that the image element tag lacks the closing behavior

before fixing:

<img src="animate.webp">

After modification:

<img src="animate.webp" />

Both of the above are possible in HTML, but if you expect XML software to use your code, the following closing (slash /) is necessary.

created at:10-16-2021
edited at: 10-16-2021: