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.
bold vs strong
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: bold vs strong
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.
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.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: bold vs strong
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.
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.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial