|
ASP.NET Book
The online ASP.NET Tutorial Book |
|||||||||
|
|
|||||||||
ASP.NET BasicsHTML BasicsASP.NET Web Server Advanced HTML Application Designing Using Visual Studio ASP.NET Standards ASP.NET Styling ASP.NET Navigation ASP.NET TipsASP.NET ValidationHTML forms CSS Styling CSS Advanced ASP.NET Features ASP.NET Image Effects Common mistakes DB Design tips Building ApplicationsDesign Secure AppsBuild Secure Apps |
6. HTML Checkboxes |
||||||||
|
Check boxes are also inserted by using the standard <input> tag using both the Name and the Value attribute. Unlike the Radio buttons in HTML, the checkboxes in HTML can be in both states checked or unchecked, as they are not grouped. Due to this when using checkboxes you can have as many or only one checked as you or the user wants. The following is an ASP.NET tutorial on how to add a HTML Checkbox into an ASP.NET page in Visual Studio.
You can also pre-select a checkbox by adding a “checked” attribute to the “<input>” tag. <input type="checkbox" name="choiceVote" value="yes" checked> Note:
Table of ContentsChapter 1 - Defining HTML Forms - <form> tag [top] |
|||||||||