Text Styling

HTML elements can also be used to style text. For example, text that is the content of the strong element will be displayed in bold, and text that is the content of the em element will be displayed in italics.

This text:

<p>The domestic dog (<em>Canis familiaris</em>) is the <strong>largest</strong> domesticated carnivore.</p>

Will be displayed like this:

The domestic dog (Canis familiaris) is the largest domesticated carnivore.

Instructions

Change the word thousands to bold in the first paragraph using the strong element.

Make the last two words of the first paragraph small cats italic using the em element (without the period at the end of the sentence).

Start programming for free

By signing up, you agree to the Terms of Service and Privacy Policy.

Or sign up with:

4/8

Text Styling | Start Coder