Jump to content

Choosing Text Formatting Tags


Kevin M
 Share

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

Link to comment
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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...