Forum : font tags
Brief description  about Online courses   join in Online courses
View Anonymous  Anonymouse 's Profile

font tags

As,we all know font colors..r in RGB format..each color value ranges from 0 to 255...when i write the below...code...

<html>
<head>
<title>
colors
</title>
<h1>CoLor DESiGNS
</h1>
</head>
<body>
<font color="rgb(0,255,0)">hello,dude</font>

</body>
</html>

the browser omits the html element(font tag part)...just prints the text in black color....Do ..i need to write in HEX only!!? pls...help me out..thank you :)
Asked by Anonymous Anonymouse | Mar 2, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
<html>
<head>
<title>
colors
</title>
<h1>CoLor DESiGNS
</h1>
</head>
<body>
<font color="#ff0000">hello,dude</font>

</body>
</html>


Write like this it will work.

Regards
Mar 3, 2010