HTML CSS examples for CSS Property:background
CSS change the bold test to have yellow background
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .test<!--from w w w. j a va 2 s .co m--> { color: #1F1FFF; } .test b { background-color: yellow; } </style> </head> <body> <div class="test"> This is a <b>paragraph</b> . </div> </body> </html>