Jump to content
Sign in to follow this  
Kevin M

Choosing Text Formatting Tags

Recommended Posts

I guess that's what you call them. Anyway. This is probably a dumb question.I know <b> and <strong> makes Bold text. And <i> and <em> makes Italics text. So is it better to use tages like <b> and <i> or <strong> and <em>? Or does it not matter.Thanks,Kevin

Share this post


Link to post
Share on other sites

I would use <b> and <i> for Bold and Italics, leaving <strong> and <em> to be used for other uses, like maybe when I wanted to make a piece of text special besides Bold or Italics. Perhaps a different colour or line height or various other text formatting.strong and em can be defined inside your css for the page. The default for them in most Browsers is bold and italics, but they don't need to stay that way.

Share this post


Link to post
Share on other sites

Oh, ok. I thought <strong> would only make it bold. So I could define <strong> differently in CSS. Thanks.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...