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

Comments

Popular posts from this blog

Lab Network 2024

Step to publish your static html web page to GitHub

Tutorial OOP(reversion java)