html Form decadastropadrãobootstrap - Nome,sobrenome,email,senha,endereço,complemento,cid
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html Form decadastropadrãobootstrap - Nome,sobrenome,email,senha,endereço,complemento,cid相关的知识,希望对你有一定的参考价值。
<form action="pastadestino.php" method="POST">
<div class="form-row">
<div class="form-group col-md-6">
<label for="inputName">Nome</label>
<input type="text" id="inputName" class="form-control" placeholder="John" required>
</div>
<div class="form-group col-md-6">
<label for="inputSurname">Sobrenome</label>
<input type="text" class="form-control" id="inputSurname" placeholder="Doe" required>
</div>
<div class="form-group col-md-6">
<label for="inputEmail4">Email</label>
<input type="email" class="form-control" id="inputEmail4" placeholder="doejohnn@email.com" required>
</div>
<div class="form-group col-md-6">
<label for="inputPassword4">Senha</label>
<input type="password" class="form-control" id="inputPassword4" placeholder="123@abc" required>
</div>
</div>
<div class="form-group">
<label for="inputAddress">Endereço</label>
<input type="text" class="form-control" id="inputAddress" placeholder="Av Vinicius de Morais, 25" required>
</div>
<div class="form-group">
<label for="inputAddress2">Complemento</label>
<input type="text" class="form-control" id="inputAddress2" placeholder="Apartamento, casa, sítio...">
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="inputCity">Cidade</label>
<input type="text" class="form-control" id="inputCity" required>
</div>
<div class="form-group col-md-2">
<label for="inputZip">Zip</label>
<input type="text" class="form-control" id="inputZip" required>
</div>
<div class="form-group col-md-4">
<label for="inputState">Estado</label>
<select id="inputState" class="form-control" required>
<option selected hidden>Escolha...</option>
<option value="AC">Acre</option>
<option value="AL">Alagoas</option>
<option value="AP">Amapá</option>
<option value="AM">Amazonas</option>
<option value="BA">Bahia</option>
<option value="CE">Ceará</option>
<option value="DF">Distrito Federal</option>
<option value="ES">Espírito Santo</option>
<option value="GO">Goiás</option>
<option value="MA">Maranhão</option>
<option value="MT">Mato Grosso</option>
<option value="MS">Mato Grosso do Sul</option>
<option value="MG">Minas Gerais</option>
<option value="PA">Pará</option>
<option value="PB">Paraíba</option>
<option value="PR">Paraná</option>
<option value="PE">Pernambuco</option>
<option value="PI">Piauí</option>
<option value="RJ">Rio de Janeiro</option>
<option value="RN">Rio Grande do Norte</option>
<option value="RS">Rio Grande do Sul</option>
<option value="RO">Rondônia</option>
<option value="RR">Roraima</option>
<option value="SC">Santa Catarina</option>
<option value="SP">São Paulo</option>
<option value="SE">Sergipe</option>
<option value="TO">Tocantins</option>
</select>
</div>
</div>
<button type="submit" class="btn btn-primary">Enviar</button>
</form>
以上是关于html Form decadastropadrãobootstrap - Nome,sobrenome,email,senha,endereço,complemento,cid的主要内容,如果未能解决你的问题,请参考以下文章
html5 form表单提交怎么获得返回值
关于html中<form>的用法
html 同一个 form 能提交给不同的地址吗
在更大的 <form> 中嵌入 HTML <form>?
HTML如何接收从另一个页面form表单提交过来的数据
html中post必须要用form表单,而get就可以不用form表单就可以提交了吗?