943,696 Members | Top Members by Rank

Ad:
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Jun 5th, 2007
0

Re: Bold

<b> and <i> are expected to be deprecated in the next version of W3C XHTML, so don't start using them. They were left because there are a few old browsers that handle strong and b in different ways.

Beware The Deprecator! He comes and waves his magic mouse, and turns your perfectly good code into Tag Soup.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Jun 5th, 2007
0

Re: Bold

thats silly. I do all my code in notepad and i cant be bothered typing <strong> when i can just type <b>
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,501 posts
since Apr 2005
Jun 8th, 2007
0

Re: Bold

Tell W3C.

I think deprecting tags is like telling English speaking people they can't use the words "program." "can," and "tree" anymore.

And notice that their replacement solutions for everything they deprecate uses more typing.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Jun 8th, 2007
0

Re: Bold

Click to Expand / Collapse  Quote originally posted by MidiMagic ...
Tell W3C.

I think deprecting tags is like telling English speaking people they can't use the words "program." "can," and "tree" anymore.

And notice that their replacement solutions for everything they deprecate uses more typing.
Just because it's deprecated doesn't mean it can't be used anymore. We'll have to wait another 10 years for that to happen
Team Colleague
Reputation Points: 53
Solved Threads: 5
PHP/vBulletin Guru
Gary King is offline Offline
360 posts
since Nov 2003
Jun 12th, 2007
0

Re: Bold

Isn't it just a good idea just to use them to style differently. So you could set a different font-weight for bold and strong?

That's what I would do but I have never actually noticed this problem before.
Reputation Points: 178
Solved Threads: 15
Nearly a Posting Virtuoso
roryt is offline Offline
1,282 posts
since Oct 2005
Jun 13th, 2007
0

Re: Bold

If I remember my spec docs correctly; one of the driving forces for strong rather than b is that vocally (in context of screenreading technology); strong can mean 'talk loudly and/or assertively' whereas b is a bit meaningless outside of visuals. So <b> is a media specific presentational choice for text, while <strong> is a meaningful (buzzword: semantic) attribute for text that can be considered media-independant, even process independant.

That said; I don't see why they can't continue to co-exist simultaneously as they do now.. I might want to write in bold without having to worry about screenreaders yelling at their users, or the importance of my bold words being considered too highly..
Moderator
Featured Poster
Reputation Points: 522
Solved Threads: 64
Veteran Poster
MattEvans is offline Offline
1,091 posts
since Jul 2006
Jun 13th, 2007
0

Re: Bold

thats really intersting and i would never have thougt of that. surely if you didn't want your word to be shouted at the user you could just use a span and style it so that it has a bold font weight.

but thanks for that. very interesting.
Reputation Points: 178
Solved Threads: 15
Nearly a Posting Virtuoso
roryt is offline Offline
1,282 posts
since Oct 2005
Jun 14th, 2007
0

Re: Bold

the strong and emphasis tags are also recommended for use when you have a site that will possibly be used by screen readers or accessibility aids. Doh. Didnt see some1 had mentioned this already. These tags are also more compliant and infact not as old/deprecated than the B and I tags.

Also ideally u want to have any font or other properties specified in CSS rather than in the file direct as this is also more compliant than specifying the characteristics on the fly.

As for the deprecation comment. Compliant Browsers are starting to not use deprecated methods which is why u get code that works in one browser but works differently in another. Its good practice to use NON deprecated code because u ensure that it is more compatible with a wider range of browsers.
Last edited by devdan; Jun 14th, 2007 at 12:07 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
devdan is offline Offline
3 posts
since Jun 2007
Jun 14th, 2007
0

Re: Bold

yeh... I barely every really use the <b> or <strong> tags because I style it in my css but I don't really find myself using bold text anyway tbh.
Reputation Points: 178
Solved Threads: 15
Nearly a Posting Virtuoso
roryt is offline Offline
1,282 posts
since Oct 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Help me about Http Client Post method
Next Thread in HTML and CSS Forum Timeline: CSS positioning problems





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC