News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

Set the Color to your text using CSS

Started by Kalyan, May 24, 2009, 11:59 PM

Previous topic - Next topic

Kalyan

Set the Color to your text using CSS


<html>

<head>
<style type="text/css">
h1 {color: #00ff00}
h2 {color: #dda0dd}
p {color: rgb(0,0,255)}
</style>
</head>

<body>
<h1>This is header 1</h1>
<h2>This is header 2</h2>
<p>This is a paragraph</p>
</body>

</html>

dhoni

with this using simple css program we can set color to your text
this will do with easy program