|
|
Set background color for two different elements: |
<h1 style="background-color:powderblue;">This is a heading</h1>
<p style="background-color:tomato;">This is a paragraph.</p><!DOCTYPE html>
<html>
<body>
<h1 style="background-color:powderblue;">This is a heading</h1>
<p style="background-color:tomato;">This is a paragraph.</p>
</body>
</html>
Category: | Web Tutorial |
Sub Category: | HTML Styles |
Uploaded by: | Admin |
Read Articlehttps://develop.horje.com/learn/1434/reference