Koding HTML untuk masukkan checkbox
Berikut adalah contoh koding html bagi memasukkan checkbox ke dalam laman sesawang anda.
<!DOCTYPE html>
<html>
<body>
<form action="">
<input type="checkbox" name="vehicle" value="Bike">I have a bike<br>
<input type="checkbox" name="vehicle" value="Car">I have a car
</form>
</body>
</html>
sekian..terima kasih
sumber w3school
<!DOCTYPE html>
<html>
<body>
<form action="">
<input type="checkbox" name="vehicle" value="Bike">I have a bike<br>
<input type="checkbox" name="vehicle" value="Car">I have a car
</form>
</body>
</html>
sekian..terima kasih
sumber w3school
Comments
Post a Comment