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 is an interrupt, What is an interrupt?  An interrupt is an event t...

What is an interrupt?  An interrupt is an event that causes the implementation of one program to be suspended and another program to be implemented.

Array is a pointer to pointer to int, Array is a pointer-to-pointer-to-int:...

Array is a pointer-to-pointer-to-int: at the first level, it points to a block of pointers, one for each row. That first-level pointer is the first one we allocate; it has nrows e

Performance and issues in pipelining-speedup, Performance and Issues in Pip...

Performance and Issues in Pipelining Speedup:   Firstly, we get the speedup factor that is we see how much speed up performance we get through pipelining. First we get the

Unit resolution, Unit Resolution: By assuming that we knew the sentenc...

Unit Resolution: By assuming that we knew the sentence as "Tony Blair is prime minister or may the moon is made of blue cheese", is true or we later found out that the moon is

Perform multiplication with showing content of accumulator, Perform multipl...

Perform multiplication with showing the contents of accumulator, B register and Y register during each step. (Accumulator, B, Y are 4-bit registers) B=06 Y=02

Write short note on associated vs. common channel signaling, Write short no...

Write short note on Associated vs. Common channel signaling. Associated vs Common channel signalling: The out band signalling suffers from the very restricted bandwidth.

Define cache memory, Define cache memory? A special very high speed mem...

Define cache memory? A special very high speed memory known as a cache is sometimes used to increase the speed of processing by making current programs and data available to th

Design a 1-bit full adder, Design a 1-bit full adder: Verify your desig...

Design a 1-bit full adder: Verify your design Use the 1-bit full adder to build a 4-bit adder with Ci=0 Verify: 1 + 4, and 9 + 9 Sram design: Cell: p - 0.5/0.045;

Explain dataflow computing, DATAFLOW COMPUTING A substitute to the Von ...

DATAFLOW COMPUTING A substitute to the Von Neumann model of calculation is dataflow computation model. In the dataflow model, control is tied to flow of data. Order of instruct

What is throughput of a system, Throughput of a system is? Ans. "Throug...

Throughput of a system is? Ans. "Throughput" of a system is no. of programs processed by this per unit time.

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