p tags changing to div tags in html.

  •  09-22-2010, 11:37 AM

    p tags changing to div tags in html.


    If the original html text as shown in your online demo is -

    <P>When your algorithmic and programming skills have reached a level which you cannot improve any further, refining your team strategy will give you that extra edge you need to reach the top. We practiced programming contests with different team members and strategies for many years, and saw a lot of other teams do so too. </P>
     
    and if we press enter any where within this text, in order to do line break.
    it is changed to -
     
    <div>When your algorithmic and programming skills have reached a level which you cannot improve any further, refining your team strategy will give you that extra edge you need to reach the top. We practiced programming contests with different team members and strategies for many years, and saw a lot of other teams do <br />
                so too. </div>
     
    so as you see <p> tag is replaced by <div> tag,
    please guide us if we can control this?
     
    Thanks.
     
     
     


View Complete Thread