I'm trying to make some bold and italic text.When I use <strong> <em> it effects all the text even though I'm using <strong/>at the end of the text it still effect text further down the page?How do I then isolate?Thanks

I'm trying to make some bold and italic text.When I use <strong> <em> it effects all the text even though I'm using <strong/>at the end of the text it still effect text further down the page?

You'll kick yourself...

The closing tag is </strong>, with the slash before the element name. That's the case for any non-empty element. It's only elements that can't contain any content that you put the slash at the end to make it self-closing (for example, <hr/> is equivalent to <hr></hr>).

The closing tag is </strong>, with the slash before the element name. That's the case for any non-empty element. It's only elements that can't contain any content that you put the slash at the end to make it self-closing (for example, <hr/> is equivalent to <hr></hr>).

Because of the humorous typo, we forgot to mention that since this is merely aesthetic you should use CSS and a semantically meaningful tag. So let say you wanted to put emphasis on a phrase of your paragraph.