Page 93 - TP_iPlus_V2.1_Class6
P. 93

The <HTML> Tag

                 The <html> tag tells the web browser that the text contained between <html> and </html> is
                 a web page and can be viewed using a web browser (Google Chrome, Microsoft Edge, Mozilla

                 Firefox etc.). Every web page coding must start with the <html> tag and end with the </html> tag.
                 The <Head> Tag

                 The <head> tag defines the header area of your web page. The information inside the <head>

                 tag is used by the browser but is not displayed on the web page. It is a container tag used in pair
                 as <head> and </head>. Every web page coding must have its header tag.

                 The <Title> Tag

                 The <title> tag tells the web browser that text contained between <title> and </title> is the text
                 that is not part of the web page. It will be shown on the Title Bar of your web browser. The use

                 of <title> tag is not mandatory. If you do not want to give title to your web page, you can skip
                 it. Your web browser will show the file name and its path as the title of your web page.
                 The <Body> Tag


                 The  <body>  tag  specifies  the  main  content  of  the  web  page.  The  text  and  other  elements
                 contained between <body> and </body> tags are displayed on the web page. It is a container
                 tag.

                 The <Hn> Tag

                 Every chapter in a book has various headings and sub-headings. These are known as levels of
                 headings. The heading tags are used to give similar effect to your web page. These are container

                 tags with a start tag and an end tag. HTML can define up to 6 levels of headings from H1 to H6.
                 H1 is the first level of heading and H6 is the last level of heading/sub-heading. Let us create a
                 web page using heading tags.































                                                                                                                  91
                                                                                        HTML—An Introduction
   88   89   90   91   92   93   94   95   96   97   98