On 12 May 2010 14:24, Conrad Irwin conrad.irwin@gmail.com wrote:
On 05/12/2010 01:11 PM, Svip wrote:
On 12 May 2010 13:57, Platonides Platonides@gmail.com wrote:
You could use <span style="font-weight: bold">, but what's the point of that?
Because it would be correct HTML.
It's foul HTML... The whole point is that you say what you mean, not what it should look like.
How is bold and italic things you say? Maybe my own language isn't that nuanced.
Using <b> and <i> where what you really want is to make it bold and italic isn't deprecated.
Incorrect, they are deprecated exactly for that reason, because the HTML should in no way imply the style and appearance of the content. Let CSS take care of that. Of course, you could do <span class="i"> and <span class="b"> instead, to make it neater. And it would follow the standard too.
It isn't deprecated.
Okay, correct, but it is 'discouraged'. They even removed them in XHTML 2.0, not that anyone uses that. Though, I don't think it is going out of HTML5.