3 ms·
I don't understand what's wrong with the <strong> tag and I want to discuss it here...
by dan_sim 17y ago
I don't understand what's wrong with the <strong> tag and I want to discuss it here...
- kevinholesh 17y agoI agree. If you want something to stand out in a long paragraph, what would you use? <span class="highlight">? I'd much rather use <strong>.
- tdupree 17y agoI don't think anything is wrong with the <strong> tag. It is interesting that it is listed next to the <b>/<bold> tags, as <strong> is often suggested as a semantically correct alternative to those tags to denote the importance of a specific bit of text. Perhaps the author feels that only <em> should be used to place "emphasis" on the text in question, and that it should also be used instead of <strong> as strong doesn't give as clear an impression of importance as <em>. I think you are just fine using <strong> in places where it is appropriate.
- masklinn 17y ago> Perhaps the author feels that only <em> should be used to place "emphasis" on the text in question, and that it should also be used instead of <strong> as strong doesn't give as clear an impression of importance as <em>. That's a pretty weird take on it, given <strong> is supposed to put a stronger emphasis than <em>. What would be used instead of <strong>, nested <em>s?
- tdupree 17y ago"<strong> is supposed to put a stronger emphasis than <em>" You are right about that. I suppose I was just speculating on why the author was including <strong> as a no no. That the thought of "I am 'stronging' this text" didn't indicate significance to him while "I am 'emphasizing' this text" related significance to him. In which case, <strong> would seem like just another name for <bold> while not denoting importance. I myself did not clearly understand that <strong> was actually more "powerful" than <em>. I appreciate you clearly stating the relationship between <strong> and <em>.
- masklinn 17y ago> I appreciate you clearly stating the relationship between <strong> and <em>. No problem. It's pretty much lifted straight from the HTML4 spec: > EM: > Indicates emphasis. > STRONG: > Indicates stronger emphasis. There's a lot of fun stuff in that spec, I don't regret having read it (almost) completely once a long time ago.