Computer Networking concepts

Friday, 28 February 2014

HTML

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>
 

This new chapter is so excited for me, now you should try this for yourself. Hope you guys like that.

No comments:

Post a Comment