Kevin M Posted January 3, 2007 Share Posted January 3, 2007 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 More sharing options...
jlhaslip Posted January 3, 2007 Share Posted January 3, 2007 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 More sharing options...
Kevin M Posted January 3, 2007 Author Share Posted January 3, 2007 Oh, ok. I thought <strong> would only make it bold. So I could define <strong> differently in CSS. Thanks. Link to comment Share on other sites More sharing options...
Xtazy Posted January 3, 2007 Share Posted January 3, 2007 I think that <strong> and <em> have other functions in some cases...So you better use simple <b> and <i> , it's safer than the others... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now