Page 89 - Plus V4 with Adobe class 7
P. 89

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.

















































            The <P> Tag

            The <P> tag defines start and end of a paragraph in the text. It is both a container as well as an empty
            tag. Whenever you want to start a new paragraph, you can start the paragraph tag using <P> without
            closing the previous paragraph tag. In order to avoid confusion, it is advised to use this tag as a container
            tag starting with the <P> tag and ending with the </P> tag. The paragraph tag automatically inserts a
            blank line between two paragraphs.

            Align Attribute

            A paragraph can be aligned using the align attribute. Various values of the align attribute are given in
            the table below.

                Value                  Description                                    Example

             Left         Left-aligns the text.                   <P Align = “Left”> Text goes here. </P>



                                                                                              #More on HTML5  87
   84   85   86   87   88   89   90   91   92   93   94