Page 84 - Plus_V2.2_C6_Flipbook
P. 84

Example of a HTML code demonstrating all the tags learnt in this
              Factopedia                        chapter.

                                                Type this code in Notepad and observe the output.

                                                  <!DOCTYPE HTML>
                                                  <HTML>
                                                  <HEAD> <TITLE> My first Web page </TITLE> </HEAD>
                                                  <BODY>
                                                  <H1> Welcome to my website-Flower Website</H1>
                                                  <P> Hi! <B>I am a flower</B>
                                                  You all know me right. These are some of my uses.
                     HTML is a tag-based          <HR SIZE=7 COLOR=YELLOW>
                      language and can            <I>Production of food. <BR>
                      be used with other          Origin of honey. <BR>
                     languages to create          Origin of medicine. <BR>
                     attractive web pages.        Promote crop production and pollination. <BR>
                                                  Enhance the neighbouring area. <BR>
                                                  Provide fragrances and colognes. <BR>
                                                  Decoration.<BR>
                                                  Preparation of dyes. </I><BR>
                                                  </BODY>
                                                  </HTML>






                     In a web page, if you
                    right-click and choose
                    the 'View page source'
                      option, you can see
                     the entire HTML code
                       of the web page.






                                                           Let’s BaCk-uP

                                                       HTML5 is like a strong and flexible tool for making websites.
                                                        An HTML editor is a software for editing and creating HTML
                                                      code that is used for websites.

                                                       Tags are the basic building blocks of a web page.
                         To display the                 The tags that include both opening and closing tags are called
                     copyright symbol on              Container Tags.
                     the web page, use the              An attribute  is  a property  that  provides  some additional
                         © code.                 information about a tag.
                                                       HTML document is a text file containing markup tags.


                  82    Premium Edition-VI
   79   80   81   82   83   84   85   86   87   88   89