Page 83 - TP_Play_V2.1_class7
P. 83

Tags                                         Description


                                      The <TITLE> tag represents the title of the document and is used inside
                  <TITLE>             the <HEAD> tag. Title appears on the title bar of the browser window.
                                      If you do not want to give title to your web page, you can skip it.

                                      The  <BODY>  tag  defines  that  section  of  the  HTML  document  which  is
                                      visible  on  the  web  browser.  It  contains  all  other  tags  that  define  the
                  <BODY>
                                      content presentation elements such as images, lists, tables, text and links
                                      to move between the webpages.


                 HTML5 provides different types of tags. For example, tag to create different types of headings,
                 to create a paragraph, to insert a line break, to add a horizontal line, etc. Let us learn about some
                 of them in detail.
                 The <Hn> Tag

                 In HTML, headings are used to structure content on a webpage, similar to how books have main
                 headings and sub-headings. There are six levels of headings, represented by the <Hn> tag, where

                 "n" is a number from 1 to 6. The <H1> tag is used for the largest and most important heading,
                 while <H6> is for the smallest and least important. Each heading tag has an opening tag, such as
                 <H1>, and a closing tag, like </H1>. The size of the heading decreases as the number increases,
                 with <H1> being the largest and <H6> the smallest. These tags help organise content and make
                 it easier for users to understand the webpage's structure.










































                                                                                            More on HTML5         81
   78   79   80   81   82   83   84   85   86   87   88