input中的placeholder属性:占位符,提示用户输入的内容
<input type="text" placeholder="请输入用户名">
在实现单选功能radio是,需要添加name属性,相同name属性为一组选项。其中checked表示默认选项为男
性别:<input type="radio" name="sex" checked>男 <input type="radio" name="sex">女
文件选择时需要多文件上传 multiple
<input type="file" multiple>
表单域:表示表单属性在哪个区域中有效 form
value:添加按钮显示的文字