Page 101 - 2620_Birla Open Mind C-7
P. 101

The <P> Tag

                 The <P> and </P> tag defines the beginning and end of a paragraph in an HTML document. It is a
                 container tag, which means it has both an opening tag <P> and a closing tag </P>. The content written
                 between these two tags is treated as one complete paragraph.
                 Whenever you want to start a new paragraph, you should use the <P> tag. The browser automatically
                 adds space before and after the paragraph, which creates a clear separation between two paragraphs.
                 This improves readability and gives the text a neat structure on the webpage.

                 Each paragraph should be written within its own <P> and </P> tags. If the tag is not used properly, the
                 browser may still display the text, but the formatting may not appear organised.

                 The <BR> Tag

                 The <BR> tag is used when you want to start a new line, but do not want to start a new paragraph.
                 This tag is also known as line break. This tag forces a line break wherever you will place it. It is an
                 empty tag. It is used to write address, poems etc.






                                                                                                   #More on HTML5  99
   96   97   98   99   100   101   102   103   104   105   106