带有 placeholder 文本的搜索字段:

<form action="demo_form.asp" method="get">
  <input type="search" name="user_search" placeholder="账号" />
  <input type="submit" />
</form>

结果:

html5 <input> placeholder 属性

 程序猿必读

相关文章:

  • 2021-05-22
  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
  • 2021-12-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2022-01-12
  • 2022-12-23
相关资源
相似解决方案