HTML Background Color
HTML background color example to set a inline css background color property.
Background color in Paragraph
<html>
<head>
</head>
<body>
<p style="background-color:#99FFFF;">Background color is Hexadecimal</p>
</body>
</html>
Background color is Hexadecimal
You can choose more HTML color code.
Background color set in <div> Tag
<html>
<head>
</head>
<body>
<div style="background-color:yellow; width:220px;" align="left">
<p>Division Section background background color is yellow and paragraph width is 220px.</p>
</div>
</body>
</html>
Division Section background background color is yellow and paragraph width is 220px.
Background color set in <div> Tag with Underline
<html>
<head>
</head>
<body>
<div style="background-color:yellow; width:220px; text-align:left; text-decoration:underline;">
<p>Division Section background color is yellow and paragraph width is 220px.</p>
</div>
</body>
</html>
Division Section background color is yellow and paragraph width is 220px.