Design Web Typography Basic Web Typography Weights and Styles

Silvia Ramos
Silvia Ramos
Front End Web Development Techdegree Student 10,979 Points

<em> and <strong> Tags

Hello! What if we want to empathise just one world within our paragraph? can we use <strong> or <em> tags? or do we need to use a class just for that one word?

Thank you! :)

1 Answer

Steven Parker
Steven Parker
201,997 Points

Even to use a class, you would still need to wrap the word in an element (perhaps a "span") to allow it to be styled separately. It makes sense to use a tag that implies a particular styling instead of a generic one with a class if that's the whole purpose of the tag anyway.

The actual styling can still be modified with CSS if needed.