I want to give a ‘highlight’ effect to some of the key words to make them stand out.
First, I thought I was being clever by making all the titles
<h5>. It was a good size and looked alright. And, in the CSS doc I could style them by just using the h5 selector.
This successfully adds the yellow background but it goes beyond just highlighting the text that I wanted. I forgot that heading tags are block elements so it’s going to fill out the whole block area.