Example code This whole paragraph of text is highlighted in yellow.
The CSS class or style class mentioned above could also be applied to a paragraph tag if you wanted to highlight a complete paragraph as shown below.
Example code test How to highlight a complete paragraph If you dont see the Format button, select More. If you are using Word 2016 or Word 2013, select Find > Advanced Find. If you want to use the "highlightme" class to highlight your text, you can create a tag in your HTML which references the CSS class. Go to Home and select the arrow next to Text Highlight Color. First, the body background color is set to blue, second, a new class called "highlightme" with a yellow background, and finally, the paragraph tag has a white background. In the CSS code above, there are three elements being defined. You can also create a CSS class and set the "background-color" attribute, as shown in the example below. Tip With the same code, you could also highlight one or more words within a paragraph to draw attention to a specific section of the text.
With the same code, you could also highlight one or more words within a paragraph to draw attention to a specific section of the text. In this case, the word 'yellow' could be used in place of the color code, or any other color name for that matter.