Tutorials

https://vvcestudio.com.br/en/tutorial/html/form07/
menu

HTML Form Campo button

Below is an example of a form with a button field.
Examples of Fields (button)Button with text:

Image button :



Here is the HTML code for this form:
HTML code:
x
<form action="cadastro.php" method="POST">
<fieldset>
<legend>Exemplos de Campos (button)</legend>
Botão com texto : <br />
<button name="btn-texto">Ok</button><br />
Botão com imagem : <br />
<button name="btn-imagem">
<img title=”botao” alt=”botao” width=”10px” heigth=”10px”
src="/assetsv5/img/codigo/exmplobotao.png">
</button><br />
<br />
<input type="submit" name="btn-enviar" value="Enviar" /><br />
</fieldset>
</form>