Style HTML elements

Submitted by:Jhon Jhon

Date added:20 March, 2012

Category:HTML

HTML code example for Style HTML elements

Tags: html element

Code Snippet:

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

<h1>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>
 
 

Comments