Search This Blog

CSS (Cascading Style Sheets)

CSS

CSS (Cascading Style Sheets), is used for display of HTML pages in simple way.

<!DOCTYPE html>
<html>
<head>
<style>
h1 {
color: red;
text-align: center;
}
</style>
</head>
<body>
<h1>css implemenaton</h1>
<p>sample paragraph without css implementation</p>

</body>
</html>

In style:
h1        :selector
color    :property
red        ;value