A detailed introduction to the HTML5 Placeholder attribute

黄舟
Release: 2018-05-30 09:51:30
Original
5301 people have browsed it

Placeholder (A detailed introduction to the HTML5 Placeholder attribute) is a new HTML attribute in HTML5, which is used to provide prompt information for the expected value of the input field. It has been widely supported by mainstream browsers and is very simple to use:

Copy after login

This attribute is applicable to