Page 1 of 1
bold vs strong

Posted:
Tue Nov 06, 2012 1:19 pm
by roedygr
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.
Re: bold vs strong

Posted:
Tue Nov 06, 2012 3:07 pm
by Albert Wiersch
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.
Re: bold vs strong

Posted:
Tue Dec 04, 2012 12:47 pm
by Albert Wiersch
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.