In web page production, input and img are often placed on the same line. The img tag is always higher than the input, which is very ugly.
How to achieve horizontal alignment of input and img in CCS
Just add vertical-align:middle to input and img at the same time. The code is as follows: