Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Browser Side
/
HTML
1:31 pm May 21, 2026
This page requires javascript.
Forum Moderators:
open
Message Too Old, No Replies
Can you assign a class to strong?
Clark
Msg#:3466230
6:05 pm on Oct 1, 2007
(gmt 0)
Is
<strong class="foo">text</strong>
allowed?
Marshall
Msg#:3466268
6:48 pm on Oct 1, 2007
(gmt 0)
I have assigned new weight values to strong without any problem and it always validated. Not sure how correct it is though.
Marshall
Dabrowski
Msg#:3466273
6:56 pm on Oct 1, 2007
(gmt 0)
I believe you can assign a class to ANY tag. Apart from <html>, <head> and anything in it.
encyclo
Msg#:3466282
7:02 pm on Oct 1, 2007
(gmt 0)
No problem at all. Just don't forget the semantics of the
strong
in terms of usage (ie. don't use it for text which should not be emphasized). You can, however, style it how you want.
Clark
Msg#:3466467
11:14 pm on Oct 1, 2007
(gmt 0)
Excellent, thanks.
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Apr
,
Mar
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
May 2026 Google Search Observations
AdSense Earnings and Observations - May 2026
AI visibility audit
Adsense / Personal Manager / Support
Hacker spoofing as GoogleBot
Page indexed but live url test gets 500 error
Link collaboration strategies
in case you missed it .
Microsoft, AS8075. Google, AS396982.
Bad actor claiming to be OpenAi
Home
Forums Index
Browser Side
/
HTML
1:31 pm May 21, 2026