- <!DOCTYPE html>
- <html>
- <head>
- </head>
- <body>
- <form action="" method="post">
- <label for="username">Create a Username: </label>
- <input type="text"
- name="username"
- id="username"
- placeholder="4 <> 10"
- pattern="[A-Za-z]{4,10}"
- autofocus
- required>
- <button type="submit">Go </button>
- </form>
- shared by <a href="http://CodeSnippet.cn/">CodeSnippet.CN</a>
- </body>
- </html>
- //该片段来自于http://www.codesnippet.cn/detail/191120137309.html
来源: http://www.codesnippet.cn/detail/191120137309.html