The first method: Based on the new feature of HTML5 input tag - placeholder. In addition, the x-webkit-speech attribute can implement the voice input function.
Second method : Use span to simulate, position span, and use JS keyboard events determine input and determine whether the content in the span is displayed or hidden.