Define checkbox in html, Computer Engineering

Assignment Help:

Q. Define Checkbox in html?

Checkboxes are used when one or more out of the group of options is to be chosen. Building Check boxes is very similar to radio buttons. Figure explains the use of Checkbox.

User can choose any number like 1, 2, none or all of the options. Choices would be returned to you as the name/value pairs

Tom=YES

Terry=YES

(Or whatever the user chooses. If nothing, nothing would be returned to you)

Following is the code for making a table which contains different options for 3 different questions. Try it yourself and see the result.

<CENTER>

<TABLE WIDTH=600 BORDER=1 CELLSPACING=1><TR>

<TD WIDTH=199>

Which of these guys are your friends?<BR>

<INPUT TYPE=CHECKBOX NAME="Friend?..Tom" VALUE="YES"> Tom

<BR>

<INPUT TYPE=CHECKBOX NAME="Friend?..Ricky" VALUE="YES"> Ricky

<BR>

<INPUT TYPE=CHECKBOX NAME="Friend?..Terry" VALUE="YES">

Terry<BR>

<INPUT TYPE=CHECKBOX NAME="Friend?..BU" VALUE="YES"> Bunty<P>

</TD>

<TD WIDTH=200>

Which of these guys would you lend money to?<BR>

<INPUT TYPE=CHECKBOX NAME="Lend money?...Tom" VALUE="YES">

Tom <BR>

<INPUT TYPE=CHECKBOX NAME="Lend money?...Ricky" VALUE="YES">

Ricky <BR>

<INPUT TYPE=CHECKBOX NAME="Lend money?...Terry" VALUE="YES">

Terry<BR>

<INPUT TYPE=CHECKBOX NAME="Lend money?...BU" VALUE="YES">

Bunty<P>

</TD>

<TD WIDTH=199>

Which of these guys would you trust with your sister?<BR>

<INPUT TYPE=CHECKBOX NAME="Date sister?...Tom" VALUE="YES"> Tom

<BR>

<INPUT TYPE=CHECKBOX NAME="Date sister?...Ricky" VALUE="YES">

Ricky <BR>

<INPUT TYPE=CHECKBOX NAME="Date sister?...Terry" VALUE="YES">

Terry<BR>

<INPUT TYPE=CHECKBOX NAME="Date sister?...BU" VALUE="YES">

Bunty<P>

</TD>

</TR></TABLE>

</CENTER>

1060_Define checkbox in html.png

Figure: A Form on a Web Page with Checkboxes


Related Discussions:- Define checkbox in html

What are the categories of radio communication, What are the categories of ...

What are the categories of Radio communication 1.  Sky wave or ionosphere communication 2.  Line-of-sight (LOS) microwave communication limited by horizon 3.  Troposphere

How to access the disk data, Q. How to Access the Disk Data? Disks oper...

Q. How to Access the Disk Data? Disks operate is semi-random mode of operation and generally referenced block wise. The data access time on a disk comprises two major component

State the disadvantages of interviewing, State the Disadvantages of  inter...

State the Disadvantages of  interviewing -  can be expensive to carry out    -  can be a very time consuming exercise -  Unable to remain anonymous

Describe architecture of wap gateway, Describe architecture of WAP gateway....

Describe architecture of WAP gateway. WAP GATEWAY : It is a very unique product giving semi-automatic redirection of HTML documents to WAP compatible mobile phones. Wir

Concept of multithreading, Concept of Multithreading: This problem ris...

Concept of Multithreading: This problem rises in design of large scale multiprocessors like MPP. So a solution for optimizing this latency must be acquired at. The idea of Mul

How can we convert infix expression to a postfix expression, One can change...

One can change an infix expression to a postfix expression using a By using Stack you can convert infix expression to a postfix expression

SWOT ANALYSIS, OPPORTUNITIES AND THREATS IN COMPUTER FEILD

OPPORTUNITIES AND THREATS IN COMPUTER FEILD

What is the purpose of guard bits, What is the purpose of guard bits used i...

What is the purpose of guard bits used in floating point operations? The guard bits are the extra bits which are used to retain the in-between steps to enhance the accuracy in

Memory that can be used in a 16-bit computer, What is the maximum size of t...

What is the maximum size of the memory that can be used in a 16-bit computer and 32 bit computer? The maximum size of the memory that can be used in a 16-bit computer is 2 memo

Explain the importance of computer architecture, Explain the importance of ...

Explain the importance of Computer architecture Computer architecture courses cover application, organization, architecture, logic and transistor layers. However, four other la

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd