Page 124 - Plus_V2.2_C8_Flipbook
P. 124

<!DOCTYPE HTML>
                    <HTML>
                    <HEAD>
                    <TITLE> Buttons </TITLE>
                    </HEAD>
                    <BODY>
                    <H2> Creating Buttons </H2>                                 Displaying buttons
                    <INPUT TYPE="SUBMIT" ID="SUBMIT" VALUE="Submit">
                    <INPUT TYPE="RESET" ID="RESET" VALUE="Reset">
                    <BUTTON TYPE="BUTTON"> Click Me </BUTTON>
                    </BODY>
                    </HTML>


                       The <TEXTAREA> Tag

                  The <TEXTAREA> tag is used to create a multiline text box that can accept long text values. We can
                  specify the number of rows and columns we want in text area by using the ROWS and COLS attributes
                  of the <TEXTAREA> tag. The syntax of the <TEXTAREA> tag is as follows:

                         <TEXTAREA ROWS="2" COLS="70">
                  Let us create a web page to display the textarea.



                    <!DOCTYPE HTML>
                    <HTML>
                    <HEAD>
                    <TITLE>Textarea Example</TITLE>
                    </HEAD>
                    <BODY>
                                                                                     Displaying a textarea
                    <LABEL FOR="ADDRESS"> Address: </LABEL><BR>
                    <TEXTAREA ID="ADDRESS" NAME="ADDRESS" ROWS="4" COLS="50">
                    </TEXTAREA>
                    </BODY>
                    </HTML>



                       The <SELECT> Tag
                  Sometime, we need to display multiple options in the form of a drop-down menu or list from which
                  we can select only one option at a time. The <SELECT> tag with the <OPTION> tag allows us to create a
                  drop-down list. The <OPTION> tag specify an option in the drop-down list. The syntax of the <SELECT>

                  tag is as follows:
                  <SELECT>

                  <OPTION> Option 1
                  122   Premium Edition-VIII
   119   120   121   122   123   124   125   126   127   128   129