Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 92 - 2620_Birla Open Mind C-8
P. 92

    </HEAD>

                  <BODY STYLE="BACKGROUND-COLOR:lightyellow">

                  <FORM>
                  User Name: <INPUT TYPE="TEXT" NAME="USER NAME"> <BR>

                  Password: <INPUT TYPE="PASSWORD" NAME="PASSWORD"><BR>

                  <INPUT TYPE="CHECKBOX"> Remember me next time

                  <BR>
                  <INPUT TYPE="BUTTON"

                  VALUE="Log IN">

                  </FORM> </BODY>
                  </HTML>

                       THE <TEXTAREA> TAG

                  The <TEXTAREA> tag is used to create a multi-line text box that can accept lengthy 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 student registration form by using form elements of HTML. The code to create the
                  registration form is as follows:

                  <!DOCTYPE html>

                  <HTML>
                  <HEAD>

                  <TITLE> Form </TITLE>

                  </HEAD>

                  <BODY STYLE="BACKGROUND-COLOR:lightyellow; COLOR:blue;">

                  <H1 STYLE= "TEXT-ALIGN: center"> Registration Form </H1>
                  <HR>

                      90  Premium Edition-VIII

| 87 88 89 90 91 92 93 94 95 96 97 |