×

Html & Html5

The World's best Software Development Study Portal

CSS3

Introduction to CSS


Inline style


We can defines the styling for any element in the same line after using the style attribute following after the tags on the same page.
For example:-


<!DOCTYPE html>

<html>

<head>

</head>

<body style="background-color:pink >

<p> Let's see here </p>

<p style="color:red"; font-size:20px;> I am Manish Singh Bhakuni </p>

</body>

</html>


Output of the program



Let's see here

I am Manish Singh Bhakuni

So here we can give our style just by including the style in the same line.











CSS 3 training insitute | Best IT Training classes in Gurgaon | Web Designing Training Institute