Inline background color setting

Background colors setting:

<!DOCTYPE html>
<html>
<body>

<h1 style="background-color:DodgerBlue;">Hello World</h1>

<p style="background-color:Tomato;">
technisia
</p>

</body>
</html>

Output:

Hello World

technisia



Comments

Popular posts from this blog

css3 Borders

Introduction to CSS

Background repeat and no-repeat in css