Advertisement

Your Ad Here

HTML PARAGRAPH


HTML Paragraphs


  • <p> indicate start tag paragraph and </p> close tag paragraph.
  • Browsers automatically add an empty line before and after a paragraph. 
  • Most browsers will display HTML correctly even if you forget the end tag.
  • Forgetting the end tag can produce unexpected results or errors.

    Example                                                 
    HTML LINE SYNTEXPreview
    <p>This is a paragraph</p>This is a paragraph
    <p>This is another paragraph</p>This is another paragraph
                                                                                                




    HTML Line Breaks

    • Use the <br /> tag if you want a line break (a new line) without starting a new paragraph:
    • The <br /> element is an empty HTML element. It has no end tag.

    Example                                                 
    HTML BREAK SYNTEXPreview
    <p>This is<br />a para<br />graph with line breaks</p>This is
    a para
    graph with line breaks
                                              

    Kindly Bookmark this Post using your favorite Bookmarking service:
    Technorati Digg This Stumble Stumble Facebook Twitter
    YOUR ADSENSE CODE GOES HERE

    0 comments:

    Post a Comment

    Please leave some comment.

     

    | jokes,Blogger Tips,Tricks,Help,XML,HTML,Tags,Table,Tutorial,Orkut © 2009. All Rights Reserved | Template Style by My Blogger Tricks .com | Design by roanty | Back To Top |