View on GitHub

cc.ufc

Materiais utilizados no curso de Ciências da Computação/UFC 2019.1

004-checkbox

<html>
<head>
	<title>Checkbox</title>
</head>
<body>
	<form action="" method="">

		<label for="email-id">Nome</label>
		<input id="email-id" type"e-mail" />

		<label for="senha-id">Senha</label>
		<input id="senha-id" type="password">
        
        <input type="checkbox" name="vehicle1" value="Bike"> I have a bike<br>
        <input type="checkbox" name="vehicle2" value="Car"> I have a car<br>
        <input type="checkbox" name="vehicle3" value="Boat" checked> I have a boat<br>
        <!-- example source https://www.w3schools.com/tags/att_input_type_checkbox.asp -->
        <button type="submit">Enviar</button>
	</form>

</body>
</html>