| | |
Bold
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
<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.
Beware The Deprecator! He comes and waves his magic mouse, and turns your perfectly good code into Tag Soup.
Daylight-saving time uses more gasoline
•
•
•
•
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.
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.
That's what I would do but I have never actually noticed this problem before.
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..
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..
Plato forgot the nullahedron..
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.
but thanks for that. very interesting.
•
•
Join Date: Jun 2007
Posts: 3
Reputation:
Solved Threads: 0
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.
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.
![]() |
Similar Threads
- News Story: Blackberry Bold Pulled From Shelves in Japan (Upcoming News Stories)
- News Story: To Rival iPhone, A 'Bold' Move by RIM (Windows Software)
- News Story: BlackBerry Bold is the Next iPhone Killer. Or Not. (Apple Hardware)
- Changing font to bold in datagrid at runtime (VB.NET)
- Outlook 2k3 replies in Bold? (Windows NT / 2000 / XP)
- my #include <string> wont make "string" bold (C++)
Other Threads in the HTML and CSS Forum
- Previous Thread: Help me about Http Client Post method
- Next Thread: CSS positioning problems
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






