Use the placeholder property to set the prompt information of the input text box


Input text box, you can use the placeholder property

The result is that when the content of the text box is empty, the prompt will be displayed, and when the content is entered, the prompt will disappear

The difference between the placeholder and the value attribute is that the value attribute is directly set to the content in the text box

Recommended Today

Use of Android WebView (super detailed usage)

1.1 overview of WebView Android WebView is a special view on the Android platform. It can be used to display web pages. This WebView class can be used to display only one online web page in the app. Of course, it can also be used to develop browsers. The internal implementation of WebView uses WebKit […]