Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

bold text should display in <b> tag instead of <strong> tag Tiny Editor

Vote:
 

Hi ,

in editor am trying to bold few words. when am looking in code option editor , the text is displaying inside of <strong> tag.

but my intention is to display that text in <b> tag. Bcs some styles am displaying are based on those tags.

 here is my example.

Original text is in code option editor  <p><strong>sandeep</strong></p>

i want lilke in this format <p><b>sandeep</b></p> 

#222206
Apr 30, 2020 9:57
Vote:
 

semantically in HTML strong is the correct HTML5 tag for use of emphasized text. This has been the case for many years how so I'd adjust any stying to using strong

#222208
Apr 30, 2020 10:30
sandeep vemula - Apr 30, 2020 10:35
Yes according to HTML5 it is correct but i have few styles depends on tags. so for this reason i want to display text inside tag.
Scott Reed - Apr 30, 2020 10:51
yes, i'm just wondering why you don't just change your style to target strong or if you have other code target both b and strong elements rather than changing the markup tag
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.