Uploading images on the website is an indispensable function. Each uploaded an image should be displayed to the uploading user on the client. Generally, the image is displayed directly through the path generated after uploading it; but in order to prevent individual users from uploading illegal images, they are usually displayed after review. Directly display the image with the path and tell the uploading user its URL. According to this URL, the image can be opened directly, regardless of whether it is reviewed, so there is a certain risk. Maybe you will say, upload the images to a temporary folder, and after the users uploads move them to another folder, so that they cannot be accessed before the review; of course, this is also a way to deal with too much trouble, and frequent operation of the hard disk is not good.
<dl><dt>Upload image: </dt><dd><ul><li><img src="Upload image local path" /></li></ul></dd></dl>
If the compatibility mode is cancelled, it can be displayed normally.
2. The solution
Just put the <ul><li><img src="local path for uploading image" /></li></ul>(only the image tag is also acceptable) outside the <dl></dl> tag, it can be displayed normally, that is:
<div>Upload image: </div><ul><li><img src="Upload image local path" /></li></ul>
- Remove text after clicking in the textbox and then d