Page 146 - TP_iPlus_V2.1_Class7
P. 146

<FORM>                                                                                                                    NAME="gender"> Female <BR> <BR>

                  User Name: <INPUT TYPE="TEXT" NAME="USER NAME"> <BR>                                                                      Address: <TEXTAREA ROWS ="4" COLS = "80"> </TEXTAREA> <BR> <BR>

                  Password: <INPUT TYPE="PASSWORD" NAME="PASSWORD"><BR>
                                                                                                                                            Hobbies: <BR>
                  <INPUT TYPE="CHECKBOX"> Remember me next time
                                                                                                                                            <INPUT TYPE="CHECKBOX"> Playing Cricket <BR>
                  <BR>
                                                                                                                                            <INPUT TYPE="CHECKBOX"> Listening to Music <BR>
                  <INPUT TYPE="BUTTON"
                                                                                                                                            <INPUT TYPE="CHECKBOX"> Reading Books <BR>
                  VALUE="Log IN">
                                                                                                                                            <BR> <BR>
                  </FORM> </BODY>
                                                                                                                                            Enroll for Class:
                  </HTML>
                                                                                                                                            <SELECT>

                  THE <TEXTAREA> Tag                                                                                                        <OPTION> Class 1

                  The <TEXTAREA> tag is used to create a multi-line text input area that can accept long text                               <OPTION> Class 2
                  values. We can specify the number of rows and columns we want in text area by using the ROWS
                                                                                                                                            <OPTION> Class 3
                  and COLS attributes of the <TEXTAREA> tag.

                  The syntax of the <TEXTAREA> tag is as follows:                                                                           <OPTION> Class 4
                                                                                                                                            <OPTION> Class 5
                    <TEXTAREA ROWS="2" COLS="70">

                  Let us create a student registration form by using form elements of HTML. The code to create the                          <OPTION> Class 6
                  registration form is as follows:
                                                                                                                                            <OPTION> Class 7
                  <!DOCTYPE html>
                                                                                                                                            <OPTION> Class 8
                  <HTML>
                                                                                                                                            </SELECT>
                  <HEAD>
                                                                                                                                            <BR>
                  <TITLE> Form </TITLE>
                                                                                                                                            <BR>
                  </HEAD>
                                                                                                                                            <INPUT TYPE="SUBMIT" VALUE="SUBMIT">
                  <BODY STYLE="BACKGROUND-COLOR:lightyellow; COLOR:blue;">
                                                                                                                                            <INPUT TYPE="RESET" VALUE="RESET">
                  <H1 STYLE= "TEXT-ALIGN: center"> Registration Form </H1>
                                                                                                                                            </FORM>
                  <HR>
                                                                                                                                            </BODY>
                  <FORM>
                                                                                                                                            </HTML>
                  Name: <INPUT TYPE="TEXT"> <BR><BR>

                  Father's Name: <INPUT TYPE="TEXT"> <BR><BR>
                                                                                                                                                               Imagine, creating a website that hosts interactive debates and discussions. How would
                                                                                                                                                               you use HTML to structure the conversation and incorporate multimedia content?
                  Age in Years: <INPUT TYPE="TEXT"> <BR><BR>
                                                                                                                                                               Design a web page that would foster meaningful exchanges among participants?
                  Gender:  <INPUT  TYPE="RADIO"  NAME="gender">  Male <INPUT TYPE="RADIO"



                   144
                          iPlus (Ver. 2.1)-VII
   141   142   143   144   145   146   147   148   149   150   151