When the page contains img src=, the page with the current URL address will be loaded repeatedly. The solution is to write it as img / and read this article foreseeing the reason.
When the page contains <img src=>, the page with the current URL address will be repeatedly loaded.
Because when the src property of the img object is an empty string(), the browser believes that this is a default value, and the content of the value is the path to the current web page. The browser will load it again with the current path and use its contents as binary content of the image and attempt to display it.
If you really need to specify the src attribute of img, you can write it as <img />.