Page 41 - PortGPT_V2.1_C8_Flipbook
P. 41

Enroll for Class :

                 <SELECT>                                                                            Factopedia
                 <OPTION> Class 1

                 <OPTION> Class 2
                 <OPTION> Class 3

                 <OPTION> Class 4
                 <OPTION> Class 5
                 <OPTION> Class 6

                 <OPTION> Class 7                                                              HTML5 provides the
                                                                                                 <LABEL> tag that
                 <OPTION> Class 8
                                                                                               can be liked with the
                 </SELECT>
                                                                                               <INPUT> tag to give
                 <BR>                                                                            text for label like
                                                             Output
                 <BR>                                                                               User Name.
                 <INPUT      TYPE="SUBMIT"          VALUE="SUBMIT">           <INPUT
                 TYPE="RESET" VALUE="RESET">

                 </FORM>
                 </BODY>

                 </HTML>
                                                                                              There is a Microsoft's
                 The output of the preceding code is as follows:
                                                                                               AI application named
                                                                                                Sketch2Code that
                         Let’s catch uP                                                        transform any hand-
                                                                                               drawn design into a
                   Write the one line code to create a text box in HTML.                       HTML code. You can
                   ____________________________________________________                            use it online.





                            Let’s Back-uP


                    •  The <IFRAME> tag of HTML5 allows you to divide a browser
                        window into many sections or parts.                                    If you have not used
                    •  The <FORM> tag is used to create the form boundary on                   the VALUE attribute,
                        the web page.                                                          the default value of a

                                                                                               checkbox and a radio
                                                                                                  button is "on".









                                                                                          HTML Frames and Forms    39
   36   37   38   39   40   41   42   43   44   45   46