When to use font-weight in CSS or <strong> in HTML?

Hello,

When would you use “< strong >” in HTML and when would you use font-weight in CSS?

Also are there any other things that can be done that are identical in HTML and CSS and would it be best to keep these in HTML or CSS?

Thank you!

strong is a semantic element.

CSS font-weight does not have any semantic meaning.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.