|
|
|
|
|
by TomaszZielinski
923 days ago
|
|
OK, now I can see that there could be e.g. a two-word brand name, where one of the words is simply bolder than the other, as a purely visual effect. And then IMHO it would be incorrect to use <strong>. As for the difference between <strong> and <em>, they way I understand it is: > <strong>Hacker News</strong> is <em>the</em> site. Basically one highlights a term (say, it could be then looked up somewhere), and the other adds spoken emphasis--in the above sentence, HN is not some site, it's THE site we talked about before. The standard way of rendering (or priting) words with such semantic meaning is respectively bold and italics. But if you ask me it could also be underline and uppercase (respectively). And if you render the page not to a visual medium but to sound (screen readers), then you give the screen reader a chance to treat (and read) those words differently. |
|
So, why couldn't they do that with <b> and <i>?