关于#html#的问题,如何解决?

html 表单 怎么可以实现点击提交 跳转到输入用户名输入那里去呀 希望有懂得小伙伴解决一下

img

你需要指定 用戶名 為 “必填”

  <input type="text" id="username" name="username" required>

參考:
HTML input required Attribute
https://www.w3schools.com/tags/att_input_required.asp