sandy1028 Posted September 2, 2009 Share Posted September 2, 2009 Hi, In the below text, please tell me how to add the '<p>' tags. [NEW] Dear Carolyn: My husband and I divorced after 42 years. It didn't take long for him to find a replacement, but I was happy for him at the time.< them and let my grandchildren dig through her purse as if she were their grandmother.< [OLD] Dear Carolyn: My husband and I divorced after 42 years. my grandchildren dig through her purse< The output should look,as below. [NEW] <p>Dear Carolyn: My husband and I divorced after 42 years. It didn't take long for him to find a replacement, but I was happy for him at the time.[b]<p></p>[/b] them and let my grandchildren dig through her purse as if she were their grandmother.</p> [OLD] [b]<p>[/b]Dear Carolyn: My husband and I divorced after 42 years. my grandchildren dig through her purse[b]</p>[/b] Link to comment https://forums.phpfreaks.com/topic/172781-add-p-tag/ Share on other sites More sharing options...
anthylon Posted September 2, 2009 Share Posted September 2, 2009 Your post is confusing for me. :-\ What are you trying to make? Anyway, let me try - maybe this: <p><strong>Dear Carolyn</strong>: My husband and I divorced after <strong>42 years</strong>. It didn't take long for him to find a replacement, but I was happy for him at the time. <p>...them and let my <strong>grandchildren</strong> dig through her purse as if she were their grandmother.</p> Output: Dear Carolyn: My husband and I divorced after 42 years. It didn't take long for him to find a replacement, but I was happy for him at the time. ...them and let my grandchildren dig through her purse as if she were their grandmother. I mean, if you could explain better that would help. Link to comment https://forums.phpfreaks.com/topic/172781-add-p-tag/#findComment-910742 Share on other sites More sharing options...
Garethp Posted September 2, 2009 Share Posted September 2, 2009 Wasn't <strong> depreciated like, years ago? I know when I was learning HTML about 5 years ago, <b> was how it was done Link to comment https://forums.phpfreaks.com/topic/172781-add-p-tag/#findComment-910749 Share on other sites More sharing options...
anthylon Posted September 2, 2009 Share Posted September 2, 2009 Well I am not sure about that - I don't think so. Browser are rendering it just fine. W3 says: The STRONG element indicates strong emphasis, typically rendered in bold. For example: <strong>STOP</strong>, or I'll say "<strong>STOP</strong>" again! Anyway, you may replace strong with B - it seems <strong> emphasis more. I don't have my glasses so can't see the different Link to comment https://forums.phpfreaks.com/topic/172781-add-p-tag/#findComment-910761 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.