Page 94 - TP_Play_V2.1_class8
P. 94

<!DOCTYPE html>

                  <HTML>

                  <BODY>
                  <FORM>

                  Select Stream:
                  <SELECT NAME="List Name">

                  <OPTION>Science

                  <OPTION>Commerce
                  <OPTION>Arts

                  </SELECT>

                  </FORM>
                  </BODY>

                  </HTML>
                  Let us create a web page containing login form, which accepts the user name and password from
                  the user. Code to create the Form.html is as follows:
                  <!DOCTYPE html>

                  <HTML>
                  <HEAD> <TITLE> Login Form </TITLE> </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                                             Output

                  The <TEXTAREA> tag is used to create a multi-line text input area 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">


                   92       Play (Ver. 2.1)-VIII
   89   90   91   92   93   94   95   96   97   98   99