Checkbox and buttons
Hello everyone today i am gonna tell you about checkbox and button. How to create a checkbox and button in HTML. This is pretty easy, without wasting our time we should start :-
<html>
<body>
<form name="input" action="html_form_action.asp" method="get">
<input type="checkbox" name="vehicle" value="Bike">I have a bike<br>(br is line break)
<input type="checkbox" name="vehicle" value="Car">I have a car
<br><br>
<input type="submit" value="Submit">
Now we have to close all tags that we have open above
</form>
</body>
</html>
No comments:
Post a Comment