html paragraph

the paragraph tags <p> and </p>,provide the most basic block formatting for web page text.it html document is divided into paragraph.this tag format is <p> ------</p>

how use paragraph tags

       <p>first paragraph element in html<p>
        
        <p>second paragrph element in html</p>
       
         <p> this isthe next paragrap<br/>  </p>

some important point for html paragraph tag

  • paragraph tag have a opening tag<p> and a ending tag</p>
  • <p> tag must end with the </p> otherwise result is missmatch
  • with<p> tag Browsers automatically add (a margin) before and after each heading.(by default)