HTML CSS examples for CSS Property:background-color
H2 with background color and underline
<html> <head> <style> h2{<!--from w ww . ja v a2 s. c o m--> border-bottom: 2px solid #000; } h2:first-line{ background:#000; color:#fff; } </style> </head> <body> <h2>POPULAR NOW</h2> </body> </html>