Last updated on October 5, 2019
Definition:
It is a process of writing css code within the html tags then it is called as inline css.
Program :
<html>
<style type=”text/css”>
.First
{
color:red;
}
.Second
{
background-color:green;
}
</style><body>
<p>HELLO</p>
<p class=”First Second”>HI</p>
<p>A</p>
<p class=”Second” style=”color:white;”>B</p>
<p>C</p>
</body>
</html>
</body>
Be First to Comment