bold vs strong

For topics about current BETA or future releases, including feature requests.
Post Reply
User avatar
roedygr
Rank V - Professional
Rank V - Professional
Posts: 370
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada
Contact:

bold vs strong

Post by roedygr » Tue Nov 06, 2012 12:19 pm

span.pronounced strong, span.pronounced bold{
font-size:larger;
font-weight: bold;
font-style:italic;
}


What are you supposed to do in your style sheets, use bold ,strong or both?

You might tighten up your error messages to guide your users as to how to fix the problem.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3221
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: bold vs strong

Post by Albert Wiersch » Tue Nov 06, 2012 2:07 pm

Thanks.

I assume the problem is with "bold" and that it should be "b" instead. CSE HTML Validator could suggest that you might want "b" for the bold element when you use "bold". I will try to get this into a future update.
Image
Albert Wiersch

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3221
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: bold vs strong

Post by Albert Wiersch » Tue Dec 04, 2012 11:47 am

In the next update, when you validate the CSS in the OP, CSE HTML Validator will generate this message:
The "bold" is not a recognized element in this selector. Perhaps this should be "b" for the bold element?

I highlighted the new/changed text in bold blue.

Instead of this:
The "bold" is not a recognized element in this selector. Is it misspelled?

The new message should be more helpful.
Image
Albert Wiersch

Post Reply