Tuesday 17 July 2012

how to Style HTML elements


<!DOCTYPE html>
<html>
<body style="background-color:PowderBlue;">

<h1>Look! Styles and colors</h1>

<p style="font-family:verdana;color:red;">
This text is in Verdana and red</p>

<p style="font-family:times;color:green;">
This text is in Times and green</p>

<p style="font-size:30px;">This text is 30 pixels high</p>

</body>
</html>

0 Responses to “how to Style HTML elements”

Post a Comment